Binary operators are used to perform bit-level operations. Each operator returns the numeric result of the operation:
- Binary and: -band
- Binary or: -bor
- Binary exclusive or: -bxor
- Binary not: -bnot
Binary operators are used to perform bit-level operations. Each operator returns the numeric result of the operation: