An ordered list answers questions about position. A measurement program also asks questions such as “What is the east reading?”, “How many readings were high?”, and “Which readings came from north?” These questions need meaningful keys, repeated updates, and sometimes a complete group of values under one label.
Dictionaries will provide the keyed lookup, counts, and groups. Sets will handle a narrower question: whether a label occurs and how two groups of labels differ. Each collection will be chosen for the question it answers rather than because its syntax is available.
The final lessons examine what assignment and copying mean for mutable collections. We will draw names, outer collections, and nested values separately, so a change is never explained as if it moved mysteriously between variables.