else-if-3.py

This commit is contained in:
Mert Gör 🇹🇷 2023-05-20 06:57:16 +03:00
parent 2ff57daf39
commit 0b8a159a9b
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9

14
else-if-3.py Normal file
View File

@ -0,0 +1,14 @@
a = int(input("Bir sayı giriniz:"))
if a == 1:
print("Bir")
else:
if a == 2:
print("İki")
else:
if a == 3:
print("Üç")
else:
if a == 4:
print("Dört")
else:
print("Diğer")