python-CSD-kursu/elif.py

8 lines
125 B
Python
Raw Normal View History

2023-05-20 06:45:05 +03:00
a = int(input("Değer giriniz:"))
if a > 0:
print("Pozitif")
elif a < 0:
print("Negatif")
else:
print("Sıfır")