New course! Every coder should learn Generative AI!
Try a free lesson0
Print(3^5) what this mean in python?? " ^ " what is the name of this operator ? What does this ?
2 Answers
+ 2
a ^ b is called bitwise XOR. The i -th bit of answer is 1 iff the i -th bit of a is not equal to i -th bit of b.