Created
September 7, 2019 21:06
-
-
Save brandon22esquivel/3070259deaa2d6c750b3359bc6cd5b6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print "dame la edad:" | |
edad = int(input("")) | |
#edad= input() | |
#edad= int(edad) | |
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment