Agenda

  1. Warm-up: Name That Error — KeyError
  2. Compare and name it: Dictionaries — lookup by name, not by position, which is what the board asked for yesterday
  3. Read and change: Using a Dictionary
  4. Rebuild yesterday’s tally with one container instead of two, then run the deletion that broke it and watch nothing break
  5. Practise: Dictionaries Practice

Things to do before our next class

  • Finish the first half of Dictionaries Practice.
  • Journal: what a dictionary gives up in exchange for that lookup.