Create a Python program that reads an integer and prints whether it is even or odd.
7
# Read the integer
num = int(input())

# Print whether the number is even or odd
if num % 2 == 0:
 print("The number is even.")
else:
 print("The number is odd.")