Advertisement
Blessing988

Untitled

Feb 11th, 2020
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. def even_or_odd(num:int):
  2.     if num%2==0:
  3.         print("even")
  4.     else:
  5.         print("odd")
  6.  
  7. even_or_odd(0) #example
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement