koşul operatörü if ile

This commit is contained in:
Mert Gör 🇹🇷 2023-05-21 18:01:55 +03:00
parent 1e92a76f63
commit 22ce385f4c
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9

5
kosul.operatoru.7.if.py Normal file
View File

@ -0,0 +1,5 @@
val = int(input('Bir sayı giriniz:'))
if val % 2 == 0:
print('çift')
else:
print('tek')