python-CSD-kursu/kosul.operatoru.7.if.py

6 lines
98 B
Python
Raw Normal View History

2023-05-21 18:01:55 +03:00
val = int(input('Bir sayı giriniz:'))
if val % 2 == 0:
print('çift')
else:
print('tek')