Python has arithmetic, comparison, logical, bitwise, membership (in) and identity (is) operators.
1Rules
and/or return one of their operands (short-circuit), not always True/False
Comparisons chain: a < b < c
== compares value; is compares identity
// and % follow floor division: −7 // 2 = −4, −7 % 2 = 1