Home
/
Python 3.11
/
Operators
/
xor
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Operators
xor
Python 3.11
Return the bitwise exclusive or of a and b.
Syntax
PYTHON
Copy
operator.xor(a, b)