Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #encoding: utf-8
- print "Dame la Edad: "
- edad= int(input(""))
- if edad >= 0 and edad < 18:
- print "Eres un niño"
- elif edad <0:
- print"No numeros negativos"
- elif edad >=18 and edad <27:
- print"Eres un joven"
- elif edad >=27 and edad <60:
- print"Eres un adulto"
- else:
- print"Eres de la tercera edad"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement