#& Binary AND Operator copies a bit to the result if it exists in both operands (a & b) (means 0000 0000) #| Binary OR It copies a bit if it exists in either operand. (a | b) = 63 (means 0011 1111) #^ ...
Python, like most other programming languages, has special operators for performing bitwise operations on data. A bitwise operation is an operation that is applied to individual bits of some object.