ID EN
Operators

xor

Python 3.11

Return the bitwise exclusive or of a and b.

Syntax

PYTHON
operator.xor(a, b)