Test Index
Python Revision Tour
© examsnet.com
Question : 83 of 102
Marks:
+1,
-0
Which of the following operators will return either True or False ?
[CBSE 2023 Set 4]
Solution:
Concept:Relational (comparison) operators compare two values and give a Boolean result,
True or False.Explanation:!= (not equal to) is a relational operator: 5 != 3 gives True, 5 != 5 gives False.= is assignment, and +=, *= are augmented assignment operators: they store a value in a variable and do not give True/False.Answer:Option B (!=)© examsnet.com
Go to Question: