Science Active Plus
Science and Education-learn online
Sunday, 25 August 2019
Python program - determining odd or even number
#determine the odd or even number by python program
#Odd or Even
num = input("Enter a Number: \n")
if num%2 == 0:
print "Even"
else:
print "Odd"
No comments:
Post a Comment
Thanks for comment.
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thanks for comment.