koşul operatörü if ile
This commit is contained in:
parent
1e92a76f63
commit
22ce385f4c
5
kosul.operatoru.7.if.py
Normal file
5
kosul.operatoru.7.if.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
val = int(input('Bir sayı giriniz:'))
|
||||
if val % 2 == 0:
|
||||
print('çift')
|
||||
else:
|
||||
print('tek')
|
Loading…
Reference in New Issue
Block a user