python-CSD-kursu/python-temel/kosul.operatoru.6.py

3 lines
81 B
Python
Raw Normal View History

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