Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 430 Bytes

collections.md

File metadata and controls

9 lines (6 loc) · 430 Bytes

Collection data types

There are four collection data types in the Python programming language:

  • List is a collection which is ordered and changeable. Allows duplicate members.
  • Tuple is a collection which is ordered and unchangeable. Allows duplicate members.
  • Set is a collection which is unordered, and unindexed. No duplicate members.
  • Dictionary is a collection which is ordered** and changeable. No duplicate members.