Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Describe your program here. You must describe your program for a full credit. 2 . Write a Python program that asks the users to enter

Describe your program here. You must describe your program for a full credit.
2. Write a Python program that asks the users to enter their name and age
and categorizes them as toddler, child, teenager, or adult based on age. Use
the following data to do the classification (10 pts).
Age range
=========
0-2--> toddler
3-12--> child
13-19-->teenager
20 and greater ---> adult
Sample input and output
Inputs:
Enter your name: Jade
Enter your age: 30
Output
Jade, you are an adult
Inputs:
Enter your name: Christopher
Enter your age: 3
Output:
Christopher, you are a child.
Hint: Use string concatenation, not f-string
"""
# Write your code below this line

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

How autonomous should the target be left after the merger deal?

Answered: 1 week ago