+ 1
Write the program that will show odd or even no.
4 Respostas
+ 8
print(int(input()) % 2 == 0)
True if even
False if odd
+ 8
Check out the upgraded version below ;)
print('even' if int(input())%2==0 else 'odd')
+ 1
ty brow
+ 1
no branching
print ['Even', 'Odd'][input() & 1]