Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- z = int(input("enter a number:"))
- def checkz(z):
- if (z <= 0) :
- print ("i dont know what to call zero or -ve numbers -_-, why dont you enter another number")
- z1 = int(input())
- checkz(z1)
- elif (z%2 == 0) : print("its even")
- else : print("its odd")
- checkz(z)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement