+ 2

Age group

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

25th Feb 2022, 10:42 AM
SAFDAR ALI
SAFDAR ALI - avatar
1 Answer
0
Age group age = int(input()) if age <= 11: print ("Child") elif age <= 17: print ("Teen") else: print ("Adult")
25th Feb 2022, 10:52 AM
William Owens
William Owens - avatar