+ 5
#indention is important in python your above code will run when the if statement is true else it won't run age = int(input()) if age>0 and age<=11: print ("child") elif age>=12 and age<=17: print ("Teen") elif age>=18 and age<=64: print ("Adult")
19th Jun 2022, 10:32 AM
MATOVU CALEB
MATOVU CALEB - avatar
+ 1
The above code works fine
19th Jun 2022, 12:31 PM
MATOVU CALEB
MATOVU CALEB - avatar