We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Checks if odd no. of values are true. 📰 📘
Similar: xor, xnor. Similar: and_, or_, not_, xor.
xor(a, b, ...) # a: 1st boolean # b: 2nd boolean
from extra_boolean import xor xor(True, False) # True xor(True, True) # False xor(True, True, True, False) # True xor(True, True, True, True) # False