Problem Set 6 - Due Tue Mar 8 at 23:00


  1. Slides and notebooks from Lec 8 (While Loops), Lec 9 (Sequences and Loops), Lec 10 (List Processing Patterns), and Lec 11 (Lists, Memory Diagrams & Mutable vs. Immutable Sequences).
  2. Problems and solutions from Lab 5 (Loops) and Lab 6 (More Loops and Memory Diagrams).
  3. Think Python, Chapter 7 covers iteration, and Think Python, Chapter 10 covers lists.


The instructions for each task:

About this Problem Set

This problem set will give you practice with list memory diagrams and nested loops as well as more practice with sequences (strings and lists), operations on sequences, and regular loops on sequences.

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.5-4 hours, and our estimate for total time spent across all tasks is 7–10 hours, plus up to an hour of reading.

How to turn in this Problem Set