5 lines
123 B
Python
5 lines
123 B
Python
|
n = int(input('Bir değer giriniz:'))
|
||
|
|
||
|
result = 100 if n % 2 == 0 else 200 # result = n % 2 == 0 ? 100 : 200
|
||
|
print(result)
|