Question: Write a complete syntactically correct Python program that does the following: asks the used to enter a person's age and read a float number from

Write a complete syntactically correct Python program that does the following:

asks the used to enter a person's age and read a float number from the keyboard into a variable called age

display a message depending on the age range as follows:

-- if age is 1 year or less, the message is "The person is an infant"

-- if age is older than 1 year but younger than or equal to 13, the message is "The person is a child"

-- if age is older than 13 years but younger than 20, the message is "The person is a teenager"

-- if age is 20 or older, the message is "The person is an adult"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!