Write Python Program Asks User Enter Person S Age Program Display Message Indicating Wheth Q37292519

Write a python program that asks the user to enter a person’sage. The program should display a message indicating whether theperson is an infant, a child, a teenager, or an adult. Followingare the guidelines:

  • If the person is 1 year old or less, he or she is aninfant.
  • If the person is older than 1 year, but younger than 13 years,he or she is a child.
  • If the person is at least 13 years old, but less than 20 yearsold, he or she is a teenager.
  • If the person is at least 20 years old, he or she is anadult.

Answer


PythonCode:

age =

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.