Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #encoding: utf-8
  2. print "Dame la Edad: "
  3. edad= int(input(""))
  4.  
  5. if edad >= 0 and edad < 18:
  6. print "Eres un niño"
  7. elif edad <0:
  8. print"No numeros negativos"
  9. elif edad >=18 and edad <27:
  10. print"Eres un joven"
  11. elif edad >=27 and edad <60:
  12. print"Eres un adulto"
  13. else:
  14. print"Eres de la tercera edad"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement