Test Index
Python Revision Tour
© examsnet.com
Question : 93 of 102
Marks:
+1,
-0
Consider the given expression :
7<4 or 6>3 and not 10==10 or 17>4Which of the following will be the correct output if the given expression is evaluated ?
[CBSE 2023 Compartment]
Solution:
Concept:Precedence: relational operators (
<, >, ==) first, then not, then and, then or.Explanation:Step 1: 7<4 = False, 6>3 = True, 10==10 = True, 17>4 = TrueStep 2: not True = FalseStep 3: True and False = FalseStep 4: False or False or True = TrueOutput:TrueAnswer:Option A (
True)© examsnet.com
Go to Question: