0

Boolean logic

Anyone done the #Boolean age group question ? # python

7th Apr 2021, 10:23 PM
Bertan Ozbek
Bertan Ozbek - avatar
2 odpowiedzi
0
age = int(input()) # your code goes here if age>=0 and age<=11: print("Child") elif age>11 and age<=17: print("Teen") elif age>17 and age<=64: print("Adult") else: print("Senior")
8th Apr 2021, 5:35 PM
Václav Dostál
Václav Dostál - avatar
0
Thank you
8th Apr 2021, 8:18 PM
Bertan Ozbek
Bertan Ozbek - avatar