uaveiro-leci/1ano/fp/aula02/ex04.py

6 lines
84 B
Python
Raw Normal View History

2022-10-11 19:27:51 +00:00
n = int(input('numero? '))
if n % 2 == 0:
print('par')
else:
print('impar')