Advertisement
Andrey_06

Untitled

Feb 8th, 2025
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. some_num = int(input("Enter your number: "))
  2.  
  3. if some_num % 2 == 0:
  4.     print('The number is even')
  5.    
  6. else:
  7.     print('The number is odd')
  8.    
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement