Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Finding if a number is even or odd.
- # This is just a fun little calculator
- # I enjoy playing around with this more than I should :)
- Num = int(input("Enter number: "))
- if Num % 2 is 0:
- print("Even")
- else:
- print("Odd")
- # simple, yet fun to toy with
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement