Skip to main content
Loading page…
Python Mastery
Chapter 4
Lesson 1 of 5
Lists: The Workhorse
Contents
Notes
Tutor
Concept
What Is a List?
Loading activity…
Previous
1 / 8
Continue
Contents
Notes
Discussion
Tutor
28 min
8 activities
0 of 8 done
In this lesson
1
What Is a List?
2
Mutating a List Step by Step
3
sorted() vs .sort() — A Critical Difference
4
Gotcha: Copy vs Reference
5
What does .pop() return?
6
Build a Reading List Manager
7
Slice & Dice
8
Pro Tip: Nested Lists
Objectives
Create lists and access elements using positive and negative indexing
Mutate lists with append, insert, extend, pop, remove, sort, and reverse
Slice lists to extract sub-sequences
Distinguish copy vs reference semantics and use sorted() safely
Chapter 4 · Lists, Tuples, Sets & Dictionaries
Lists: The Workhorse
Tuples & Immutability
Dictionaries: Key–Value Power
Sets & Set Operations
Choosing the Right Container
Previous: f-strings & Formatting
Next: Tuples & Immutability