Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/usr/env python
- x = input("Elige un numero entre 0/3: " )
- y = int(x)
- if y == 1:
- print ("Es uno")
- elif y == 2:
- print ("Es dos")
- elif y > 3:
- print ("Es mayor a 3 :(")
- elif y == 0:
- print("Es 0")
- elif y == 3:
- print("Es tres :D")
- else:
- print ("Entre el 1 y 3!!! ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement