Even Odd Program in Python

Check Even Odd Program in Python

Here you will get the example code to check even odd program in Python programming.

 

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

 

 

 

Check out our other Python Programming Examples

 

 

 

Leave a Comment

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

Scroll to Top