Operators

Logical operators:

 x or y logical or, y is evaluated, if x is false
 x and y logical and, y is evaluated, if x is true
 not x negation

Comparison operators:

 == tests value equivalence
 != not equal
 < less
 > greater
 <= less equal
 => greater or equal
 is tests the identity of objects
 is not tests the identity of objects
 a | b bitwise or
 a ^ b bitwise exclusive or
 a & b bitwise and
 a << b, a >> b shift left or right
 a + b, a - b addition/concatenation, subtraction
 a * b, a / b, a % b multiplication/repetition, division, remainder/format
 -a, + a, ~a unary negation, identity, bitwise complement
 x[i], x[i:j], x.y, x(...) indexing, slicing, qualification, function calls
 (...), [...], {...}, `...` tuple, list, dictionary, conversion to strings