The following program demonstrates How to Find Whether a Number is Even or Odd in Python.

# programmingempire.com

number = int(input("Enter a number:"))
if number %2==0:
    print(number, "is even.")
else:
    print(number, "is odd.")

Output

A Program Demonstrating How to Find Whether a Number is Even or Odd in Python
A Program Demonstrating How to Find Whether a Number is Even or Odd in Python

Further Reading

Python Practice Exercise

Examples of OpenCV Library in Python

Examples of Tuples in Python

Python List Practice Exercise

A Brief Introduction of Pandas Library in Python

A Brief Tutorial on NumPy in Python

programmingempire

princites.com

IITM Software Development Cell