Python Program to Check Whether a Number is Odd or Even
In this program we will take number from user as input and check if the entered number is odd number or even number.
- #check whether a number is odd or even
- a=int(input("Enter an integer: "))
- print("Given integer is even")
- print("Given integer is odd")