Python program to check given number is even or odd.

Program to check given number is even or odd. In this post we will see a program to check…