Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- some_num = int(input("Enter your number: "))
- if some_num % 2 == 0:
- print('The number is even')
- else:
- print('The number is odd')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement