Data types
| Text Type: | str |
|---|---|
| Numeric Types: | int, float, complex |
| Sequence Types: | list, tuple, range |
| Mapping Type: | dict |
| Set Types: | set, frozenset |
| Boolean Type: | bool |
| Binary Types: | bytes, bytearray, memoryview |
| None Type: | NoneType |
| int, float, bool, str, tuple- immutable |
list - [] (mutable)
tuple - () (immutable list) //or just values separated by comas
set - {} (unique elements)
dictionary - {x:y, z:p} (map of elements)
for with two iterators