Age program

in this exercise we learn how to know what group we belong in the age category whit the help of if, elif and else.

 

age =int(input(“enter your age”))
if age <= 1: print (“you are infant”)
elif age > 1 and age <= 13 :
print (“you are child”)
elif age > 14 and age <= 20 :
print (“you are teenager”)
elif age > 21 and age <= 100:
print (“you are adult”)
else :
print (“call 911”)