I get the whole concept of this. And I understand the shift, the and, the or, and the not, what I don't understand is what is
XOR? I have never heard of this, what is it used for?
print 5 >> 4 # Right Shift print 5 << 1 # Left Shift print 8 & 5 # Bitwise AND print 9 | 4 # Bitwise OR print 12 ^ 42 # Bitwise XOR print ~88 # Bitwise NOT