Learn Before
Classification

Python Collections

Python has four built-in collection data types:

  • Lists are ordered and mutable and allow duplicate items.
  • Tuples are ordered and immutable and allow duplicate items.
  • Sets are unordered and do not allow duplicate items.
  • Dictionaries are mutable mappings from keys to values.

0

0

Updated 2026-09-19

Tags

Python Programming Language

Data Science