Lesson 1: Lists, many values kept in order under one name
15 min read·14 Oct 2026
Module 5 · Lesson 1 · About 45 minutes · Needs: Module 3 (strings, indexing and slicing, f-strings), Module 4 (for loops, the accumulator pattern)
The situation
Amira opens the module with one question: "What is out, and who has it?" Today, Wednesday 14 October, nine copies are off the shelf. So far you would need nine variables to hold them, with no way to count, search or loop over them in one go.
Python has a value made for exactly this: a list, many values kept in order under one name. This lesson puts today's nine loans in one list and asks it Amira's questions.