diff --git "a/Beden Kitle \304\260ndeksi.py" "b/Beden Kitle \304\260ndeksi.py" new file mode 100644 index 0000000..0b0e466 --- /dev/null +++ "b/Beden Kitle \304\260ndeksi.py" @@ -0,0 +1,13 @@ +kullanici_kilo = float(input("Kilonuz:")) +kullanici_boy = float(input("Boy Uzunluğunuz:")) +bki = kullanici_kilo / kullanici_boy**2 +print("bki:{}".format(bki)) + +if bki<25: + print("NORMAL") +elif 30>bki>=25: + print("FAZLA KİLOLU") +elif 40>bki>=30: + print("OBEZ!") +else: + print("ASIRI SİSMAN!") diff --git "a/Ders Puan\304\261 Hesaplama.py" "b/Ders Puan\304\261 Hesaplama.py" new file mode 100644 index 0000000..8cead85 --- /dev/null +++ "b/Ders Puan\304\261 Hesaplama.py" @@ -0,0 +1,39 @@ + + + +kullanici_adi = input("Adınız:") +kullanici_soyad = input("Soyadınız:") +kullanici_numara = input("Ogrenci Numaranız:") + +derslistem = ["Matematik", "Fizik", "Kimya", "Biyoloji"] +Not_Listesi =[] +for i in derslistem: + print(i + " dersinin vize notunu giriniz") + vize_notu = int(input("Vize Notunuz:")) + Not_Listesi.append(vize_notu) + print(i + " dersinin final notunu giriniz") + final_notu = int(input("Final Notunuz:")) + Not_Listesi.append(final_notu) + Yil_Sonu_Ortalama = (float(vize_notu) * 0.4) + (float(final_notu) * 0.6) + print("Yil_Sonu_Ortalama:{}".format(Yil_Sonu_Ortalama)) + + +#print(str(derslistem[0]) + "Dersi Vize Notu:" + str(Not_Listesi[0]) + " Final Notu: " + str(Not_Listesi[1])) +#print(str(derslistem[1]) + "Dersi Vize Notu:" + str(Not_Listesi[2]) + " Final Notu: " + str(Not_Listesi[3])) +#print(str(derslistem[2]) + "Dersi Vize Notu:" + str(Not_Listesi[4]) + " Final Notu: " + str(Not_Listesi[5])) +#print(str(derslistem[3]) + "Dersi Vize Notu:" + str(Not_Listesi[6]) + " Final Notu: " + str(Not_Listesi[7])) + +for i in range(0, 4): + dersAdi = derslistem[i] + vize_notu = Not_Listesi[i*2] + final_notu = Not_Listesi[i*2+1] + Yil_Sonu_Ortalama = (float(vize_notu) * 0.4) + (float(final_notu) * 0.6) + + print(str(dersAdi) + "Dersi Vize Notu:" + str(vize_notu) + " Final Notu: " + str(final_notu)) + + if Yil_Sonu_Ortalama < 50: + print("KALDINIZ!") + else: + print("GECTINIZ!") + + diff --git "a/tas-kag\304\261t-makas.py" "b/tas-kag\304\261t-makas.py" new file mode 100644 index 0000000..1d6db0b --- /dev/null +++ "b/tas-kag\304\261t-makas.py" @@ -0,0 +1,85 @@ +oyuncu_1 = input("1. Oyuncunun Adini Giriniz:") +oyuncu_2 = input("2. Oyuncunun Adini Giriniz:") + + +tkm = ["tas", "kagıt", "makas"] +import random +tas = tkm[0] +kagıt = tkm[1] +makas = tkm[2] + +tur = 0 +oyuncu_1_skor = 0 +oyuncu_2_skor = 0 + +while tur < 10: + tur += 1 + + + print("tur = " + str(tur)) + secim = input("1. oyuncu tas mı? kagıt mı? makas mı? ") + a = input("2. oyuncu tas mı? kagıt mı? makas mı? ") + + +# secim = tkm[random.randint(0, 2)] +# a = tkm[random.randint(0, 2)] + + print("oyuncu_1", secim, "secti") + print("oyuncu_2", a, "secti") + if secim == kagıt: + if kagıt == a: + print("Berabere") + elif tas == a: + print("1. oyuncu Kazandınız") + oyuncu_1_skor = oyuncu_1_skor + 1 + print("1. oyuncu: " + str(oyuncu_1_skor) + "\n2. oyuncu: " + str(oyuncu_2_skor) ) + elif makas == a: + print("2. oyuncu Kazandınız") + oyuncu_1_skor = oyuncu_1_skor + 1 + print("1. oyuncu: " + str(oyuncu_1_skor) + "\n2. oyuncu: " + str(oyuncu_2_skor)) + + elif secim == tas: + if tas == a: + print("Berabere") + elif kagıt == a: + print("2. oyuncu Kazandınız") + oyuncu_2_skor = oyuncu_2_skor + 1 + print("1. oyuncu: " + str(oyuncu_1_skor) + "\n2. oyuncu: " + str(oyuncu_2_skor)) + elif makas == a: + print("1. oyuncu Kazandınız") + oyuncu_1_skor = oyuncu_1_skor + 1 + print("1. oyuncu: " + str(oyuncu_1_skor) + "\n2. oyuncu: " + str(oyuncu_2_skor)) + + elif secim == makas: + if makas == a: + print("Berabere") + elif tas == a: + print("2. oyuncu Kazandınız") + oyuncu_2_skor = oyuncu_2_skor + 1 + print("1. oyuncu: " + str(oyuncu_1_skor) + "\n2. oyuncu: " + str(oyuncu_2_skor)) + elif kagıt == a: + print("1. oyuncu Kazandınız") + oyuncu_1_skor = oyuncu_1_skor + 1 + print("1. oyuncu: " + str(oyuncu_1_skor) + "\n2. oyuncu: " + str(oyuncu_2_skor)) + +print("SKOR: ") +print(str(oyuncu_1_skor) + "\n" + str(oyuncu_2_skor)) + +if(oyuncu_1_skor > oyuncu_2_skor): + print("Kazanan: 1. oyuncu") +elif(oyuncu_1_skor < oyuncu_2_skor): + print("Kazanan: 2. oyuncu") +else: + print("Oyun Berabere Bitti") + + + + + + + + + + + +