0

What is the problem in this code?

age = int(input()) If 0 <= age <= 11: print ("Child") elif 12 <= age <=17: print("Teen") elif 18 <= age <=64: print ("Adult")

22nd Jan 2022, 12:51 PM
Hovo Kanayan
2 Answers
0
The Capital I in If is wrong . Use if (small I) Remaining all works fine
22nd Jan 2022, 1:07 PM
Jayakrishna šŸ‡®šŸ‡³
+ 1
Thank you Jayakrishna. Its esyšŸ˜‰šŸ˜‰šŸ˜‰
22nd Jan 2022, 1:09 PM
Hovo Kanayan