Skip to main content
Search
TYPE HERE
PYTHON PROGRAMMES
By Nilay Saraf For PYTHON 3.0 and Above
Home
More…
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
Labels
Programmes with if and else statements
July 06, 2019
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
To Check Whether Given Number Is Odd OR Even
#EVEN OR ODD NUMBER
print('EVEN OR ODD NUMBER')
a=int(input('Enter Number :- '))
if (a%2==0):
print (a,'is an even number.')
else:
print (a,'is an odd number.')
Made
By
:-
Nilay Saraf
Comments
Popular Posts
July 02, 2019
How To Calculate Simple Interest
July 02, 2019
How To Calculate Compund Interest
Comments
Post a Comment