Problem Set 9 - Due Tue Apr 19 at 23:00


  1. Slides and notebooks from Lec 13 (List Comprehensions and Sorting), Lec 16 (Files and File Operations), Lec 17 (Directories), Lec 18 (Intro to Dictionaries), Lec 19 (Dictionary Accumulation Patterns), and Lec 20 (Working with Real-world Data).
  2. Problems and solutions from Lab 9 (Dictionaries) and Lab 10 (Dictionaries II + File Formats).
  3. Think Python, Chapter 11 covers dictionaries.


The instructions for each task:

About this Problem Set

This problem set will give you practice with JSON and CSV files, as will as more practice with dictionaries and lists in the context of real-world data.

If you want to find a partner to work with for this problem set, use this Google Sheet to do so.


Time Estimate

Our per-task estimate for this pset is 2-4 hours, and our estimate for total time spent across all tasks is 5–8 hours, plus up to an hour of reading.

How to turn in this Problem Set