Numbers
The usual notations and operators
- 12, 3.14, 0xFF, 0377, (-1+2)*3/4**5, abs(x), 0<x<=5
C-style shifting & masking
- 1<ក, x&0xff, x|1, ~x, x^y
Integer division truncates :-(
- 1/2 -> 0 # float(1)/2 -> 0.5
Long (arbitrary precision), complex
- 2L**100 -> 1267650600228229401496703205376L
- 1j**2 -> (-1+0j)