Skip to content

Data Type

Variables can store data of different types, and different types can do different things.

These are the category that built-in by default


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

List of Type