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

6 lines
84 B
Python
Executable File

n = int(input('numero? '))
if n % 2 == 0:
print('par')
else:
print('impar')