Problem Set 5 - Due Tue Mar 1 at 23:00


  1. Slides and notebooks from Lec 6/Lec 7 and from Lec 8, Lec 9, and Lec 10.
  2. Problems and solutions from Lab 4 and Lab 5.
  3. Think Python, Chapter 5 (skip sections 5.8–5.10) on booleans and conditionals remains relevant, 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 basic while and for loops, while also reviewing material on conditionals. You will be writing functions to process strings representing genetic sequences and creating a word-guessing game using while loops.

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

How to turn in this Problem Set