Are you an infant or child or teenager or an adult?

print(“This program would like to tell you, if you are an infant or child or teenager or an adult based on your given age. Lets start.”)
print” ”
age= input(“How old are you?”)
if age>0 and age<4:
print”You are an infant.”
elif age>=5 and age<=12:
print”You are a child.”
elif age>=13 and age<=17:
print”You are a teenager.”
else:
print”You are an adult.

print”Thank you for using this program.”

In this program I tried to write a program which will allow the user to find out if he or she is a child, an teenager, adult or infant any one of those choices. I used input to ask the user about their age. Than I created condition for each categories of those choice that the user can fall under based on their age given when was asked. I used age variable to store the given age of the user. Conditions “if” , “elif”, and “else” are the condition and each of them have a print statement based on their condition. Such as the first  “if” will print ” you are an infant.” if the user gives their age from 0 to 4 any number between those ages.