Make a Better WORLD, If You Cannot to Do So, Make a Better YOU
Wednesday, December 30, 2015
#to check odd or even
a=input("enter a number")
b=int(a)
if (b%2==0):
print("it is even")
else:
print("it is odd")
# Having no programming background it is slow but a great achievement for me, i am slowly learning to code.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment