age = (float(input(āWhat is your age?ā)))
if 0 <= age <= 4:
print (āinfantā)
if 5 <= age <= 12:
print (āchildā)
if 13 <= age <= 17:
print (āTeenagerā)
if age >= 18:
print (āAdultā)
In this program I created a program which will determine if a person is Infant, child, youth, adult or a senior. To run this program the person will have to enter their age and it will tell which category they fall under. To create this program 1st I started by printing the description of the program. Then I used the condition if, elif, and else to determine the category of the age and each condition have statement of what they are. It was a bitĀ frustrating when certain commands didnāt work, but this lab overall helped me get a feel for programming.