Unit 6 - Lists, Tuples, Sets, and Dictionaries

Data structures are a fundamental concept in all programming languages as a means of organising and accessing data in your programs.

They allow us to store and retrieve information in different parts of our programs.

Python is no different and supports 4 built-in data structures.

  1. Lists
  2. Tuples
  3. Sets
  4. Dictionaries

Lists and Dictionaries are by far the most important and frequently used, but we will deal with them in the order given above in this unit.