0
Use of Boolean logic
Age=int(input()) From (0 to 11) print Child From (12 to 17) print Teen From (18 to 64) print Adult
4 Answers
+ 1
What is your question?
0
#Nag3b100 boolean is to write an expression that evaluates to True or False.
age=int(input())
print(0<=age<=11)
print(12<=age<=17)
if 0<=age<=11:
print("Child")
elif 12<=age<=17:
print('Teen')
else:
print('Adult')
0
The usage of boolean expression is to evaluate true or false.
0
To answer yes or no
O or 1 in English we can say as true or false