1m = int(input("Enter number"))
2if m % 2 == 0:
3 print(m,"is an even number")
4else:
5 print(m,"is an odd number")
6
7
1mynumber = int(input("Enter number")) # Ask an integer number to the user
2if mynumber % 2 == 0: # % = modelo, It is equal to the rest of the division
3 print(mynumber, "is an even number")
4else: # The rest of 7 / 2 is 2.5, not 0
5 print(mynumber, "is an odd number")