x + y Add x - y Subtract x * y Multiply x / y Divide (produces a float) x // y Floor Divide (produces an integer) x % y Modulo (remainder) x ** y Power x << n Bit shift left x >> n Bit shift right x & y Bit-wise AND x | y Bit-wise OR x ^ y Bit-wise XOR ~x Bit-wise NOT abs(x) Absolute value
x + y Add x - y Subtract x * y Multiply x / y Divide x // y Floor Divide x % y Modulo x ** y Power abs(x) Absolute Value
'\n' Line feed '\r' Carriage return '\t' Tab ''' Literal single quote '"' Literal double quote '\' Literal backslash
a = '\xf1' # a = 'ñ' b = '\u2200' # b = '∀' c = '\U0001D122' # c = '𝄢' d = '\N{FOR ALL}' # d = '∀'