♦ Bitwise Operators in Python
♣ Example7: Bitwise Operators in PythonBitwise Operators in Python are used to compare numbers which are represented in Binary format.
|&@Outputs 1 if both bit's value is 1|
||@Outputs 1 if atleast one of bit's value is 1|
|^@Outputs 1 if only one of bit's value is 1|
|[email protected] the bit value|
|<,||>>@Right Shift of 0s|