Numbers
Integral | Non-Integral |
---|---|
Integers | Floats (c doubles) |
Booleans | Complex |
Decimals | |
Fractions |
Collections
Sequences | Sets | Mappings | ||
---|---|---|---|---|
Mutable | Immutable | Mutable | Immutable | Mutable |
Lists | Tuples | Sets | Frozen Sets | Dictionaries |
Strings |
Callables
__call__()
)len()
, open()
)my_list.append(x)
)Singletons
Implicit
supports inline comments
Explicit
You can use the backslash(\\
) character to explicitly break up statements over multiple lines.
if
, elif
, and else
ternary operator
X if (condition) else Y