Lecture 18 & 19: Accumulation pattern with dictionaries and lists

Slides

Lecture slides handout.

Readings

Think Python, Ch. 11: Dictionaries.

Code

Click on this lec_accum_list_dicts.zip link to download the .zip file to your computer.

Videos

The videos for this lecture are divided in five parts. You can use the links below to watch the videos on YouTube or download them as .mp4 files. There's also a YouTube Playlist with all of the lecture videos on it. For the captions links below, you may have to right-click and "save-as;" if you put the .sbv file in the same directory as the .mp4 video file most video players should be able to load the captions automatically.

Solutions

Solutions for the notebook

lec_accum_lists_dicts_solns.zip link.