deger = float(input("Bir sayı girin: "))
if deger > 0:
print("Pozitif.")
... deger < 0:
print("Negatif.")
else:
print("Sıfır.")
Yukarıdaki Python kodunda … ile verilen boşluğun aşağıdaki seçeneklerin hangisi ile tamamlanması uygun olur?
deger = float(input("Bir sayı girin: "))
if deger > 0:
print("Pozitif.")
... deger < 0:
print("Negatif.")
else:
print("Sıfır.")
Kaynak: https://lolonolo.com/2025/11/15/python-programlama-2024-2025-final-sorulari-guz/