Symbol Operation Operation
& and Sets result bit to 1 if both corresponding bits are 1. E.g. 1010 & 1100 is 1000
l or Sets result bit to 1 if one of the two corresponding bits is 1. E.g 1010 & 1100 is 1110
^ xor Sets result bit to 1 only if one of the corresponding bits is 1. E.g. 1010 & 1100 is 0110

def...