From Dev.to
Python Day 4: Bitwise Operators and Ternary Operator
Bitwise XOR (^) XOR stands for Exclusive OR. The result is 1 when both bits are different. If both bits are the same, the result is 0. a b a ^ b True True False True False True False True...
