koşul operatörü 6
This commit is contained in:
parent
c286adadc6
commit
1e92a76f63
1 changed files with 2 additions and 0 deletions
2
kosul.operatoru.6.py
Normal file
2
kosul.operatoru.6.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
val = int(input('Bir sayı giriniz:'))
|
||||
print('çift' if val % 2 == 0 else 'tek')
|
Loading…
Reference in a new issue