Advertisement
SansPapyrus683

Parity Check

May 15th, 2022
832
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. n = 15
  2. if n % 2 == 0:
  3.     print("n is even")
  4. else:
  5.     print("n is odd")
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement