Advertisements
Advertisements
Question
Consider the given expression:
print(19<11 and 29>19 or not 75>30)
Which of the following will be the correct output of the given expression?
Options
True
False
Null
No output
MCQ
Advertisements
Solution
False
Explanation:
19<11 → False, 29>19 → True, 75>30 → True
So the expression becomes: False and True or not True → False or False → False
shaalaa.com
Is there an error in this question or solution?
