A number which is divisible by 2 is called Even Number.

A Number which is not divisible by 2 is called Odd Number

To understand this example, you should have knowledge of following Python programming topics:

## Source Code : Python Odd-Even Program

# Odd and Even Python Program # Eg: Odd - 1, 3, 5, 7, … # Eg: Even - 2, 4, 6, 8, … num = int(input("Enter a number: ")) if num % 2 == 0: print("Number is Even") else: print("Number is Odd")

It’s also available on GitHub – https://github.com/studygyaan/python-tutorial/blob/master/Python-Odd-Even.py