Overview:

In any programming, data types are a way to classify the data items which represents the type of value and what kind of operations can be performed with it. In Python, data types are classes and variables are instances of the respective class.

Below list has the built-in date types in Python,

  • Numeric: int, float, complex
  • Sequence Type: string, list, tuple, range
  • Mapping Type: dict
  • Boolean: bool
  • Set Type: set, frozenset
  • Binary Types: bytes, bytearray, memoryview