Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Even or odd function
- def even_odd_function(a ="number" ):
- if int(a) % 2 > 0:
- print("odd")
- else:
- print("even")
- even_odd_function("15")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement