Even Odd Program in Python

Check Even Odd Program in Python

In this program, you will learn and get example code to check even odd program in Python.

Rule to Check Odd or Even Number:-

If a number is completely divided by 2 and the remainder is 0, then number is even otherwise number is odd.

 

Example Code to Check Even Odd Program in Python

Output 1

Enter a number: 5
5 is Odd

Output 2

Enter a number: 4
4 is Even

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top