- 3

Given the age of a person as an input, output their age group. Here are the age groups you need to handle: Child: 0 to 11 T

age = int(input()) if age>0 and age<12: print("Child") elif age > 11 and age < 18: print("Teen") elif age > 17 and age<65: print("Adult")

31st Jan 2022, 7:16 AM
mahdi
1 Answer
+ 3
Hello, Mahdi What's your question btw?
31st Jan 2022, 7:23 AM
Abhiyantā
Abhiyantā - avatar