Discussion Forum | Board Infinity

What are different Data Types and Data Structures in Python?

Types and Structures of Data in Python

The data type is (logical, numeric, sequence, Sequence, Text Sequence, Binary Sequence, Map, Set)

Data structure (bool, int, float, str, bytes, dict, sets, list, etc.)

  • Logical: bool
  • Numeric: int, float, complex
  • Sequence: list, tuple, range
  • Text Sequence: str
  • Binary Sequence: bytes, bytearray, memoryview
  • Map: dict
  • Set: set, frozenset