Vidyalelo
Python · Q10

Python MCQs: Bitwise and Boolean Operations Chapter

Programming · Python · question 10

Q10

What is the result of True ^ False ?

A.
True
Answer
B.
False
C.
None
D.
Error

Answer: Option A

Solution

Answer: Option A
Solution:
The ^ operator performs bitwise XOR on the boolean values, resulting in True.