Number formats
Underscores can be added to numbers for clarity. For example,
1000000
can be tricky to read quickly, while
1_000_000
can be easier.
Ints can be written in binary, octal, or hexadecimal formats using the
0b
, 0o
, and 0x
prefixes respectively.
Floats can be written in a scientific notation.