# Question: Write a Python program to find whether a given number is even or odd. num = int(input("Enter an integer: ")) if num % 2 == 0: print(f"{num} is even") else: print(f"{num} is odd")