Sidebar Ad


Even or Odd Number Finder In Python

In This we will learn how to make a program in python to find the entered number is Even or Odd

Code :


print("Program To Find Entered Number is even or odd")
n=int(input("Enter Number: "))
if n%2==0:
    print("The Entered Number ",n ,"Is Even Number")
    print("The Entered Number ",n ,"Is Odd Number")

Output :

When giving the value as 10 , the output is Even Number

When giving the value as 1 , the output is Odd Number

In This Way , You Can Create Python Program To Find Entered Number Is Odd Or Even

I'm Tech Expert, Programmer , Web Developer, Owner Of this site and much more 😁

    Leave Your Comment

    Your email address will not be published.*