The Coder's Apprentice


Lists are ordered collections of data items, just like tuples. The major difference with tuples is that lists are mutable. This makes them a highly flexible data structure, that you will find many uses for.

Title
Introduction
List basics
Lists are mutable
Lists and operators
List methods
Aliasing
Nested lists
List casting
List comprehensions
What you learned
Shuffled card deck
FIFO (TODO)
Counting letters (TODO)
Sieve of Eratosthenes (TODO)
Tic-Tac-Toe (TODO)
Battleship (TODO)
Subset sum (TODO)