Código con estilo
Practica de David
#EJERCICIO19a
#encoding:utf-8
edad=10
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"
Comentarios
Publicar un comentario