| Operation | Syntax | Function | |
|---|---|---|---|
| Bitwise And | a & b | and_(a, b) | |
| Bitwise Exclusive Or | a ^ b | xor(a, b) | |
| Bitwise Inversion | ~ a | invert(a) | |
| Bitwise Or | a | b | or_(a, b) |
| Left Shift | a << b | lshift(a, b) | |
| Right Shift | a >> b | rshift(a, b) |
Learn Python Training from the Best Tutors
The best tutors for Python Training Classes are on UrbanPro
The best Tutors for Python Training Classes are on UrbanPro