Python logical operators with strings

DRAFT Mathematical Logic through Python Yannai A. Gonczarowski and Noam Nisan • ‘⊕’ (xor, short for exclusive or): True whenever exactly one of its two operands isTrue and the other is False. • ‘↔’ (iff, short for if and only if): True whenever either both operands are True orboth are False. (This operator is sometimes also called double implication.) ................
................