Test Index
Python Revision Tour
© examsnet.com
Question : 80 of 102
Marks:
+1,
-0
Consider the given expression :
5<10 and 12>7 or not 7>4Which of the following will be the correct output, if the given expression is evaluated ?
[CBSE 2023 Set 4]
Solution:
Concept:Order of evaluation: relational operators first, then
not, then and, then or.Explanation:5<10 = True, 12>7 = True, 7>4 = Truenot 7>4 = FalseTrue and True = TrueTrue or False = TrueNONE and NULL are not Python values (Python uses None).Answer:Option A (True)© examsnet.com
Go to Question: