scientific_comp_projects/CODE/[python]kattis/trivial/oddities.py
2021-10-29 15:16:40 +02:00

16 lines
240 B
Python

n = input()
n = int(n)
answer = []
for i in range(n):
j = input()
j = int(j)
if j%2 == 0 :
answer.append(str(j) + ' is even')
else :
answer.append(str(j) + ' is odd')
for a in answer:
print(a)