Skip to content

Instantly share code, notes, and snippets.

@brandon22esquivel
Created September 7, 2019 21:06
Show Gist options
  • Save brandon22esquivel/3070259deaa2d6c750b3359bc6cd5b6c to your computer and use it in GitHub Desktop.
Save brandon22esquivel/3070259deaa2d6c750b3359bc6cd5b6c to your computer and use it in GitHub Desktop.
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