Exercises: Week 5: Sequences & For Loops
This week has 3 exercise notebooks:
A_ex_misc_sequences.ipynbis not associated with a particular lecture, but gives you practice with indexing, lists, and the
rangefunction which you'll be using in the other notebooks.
B_ex_lab_while_loops.ipynbfor Lab 5.
C_ex_lec_for_loops.ipynbfor the Sequences & Loops Lecture.
You should finish most of them before starting project 5 because they will help you succeed on that project.
There are a lot of exercises this week, but many of them should be fairly trivial: we're trying to help build up your mental-muscle-memory for a few new concepts by giving you plenty of simple practice.
Click on this
to download the .zip file for this week to your computer. Unzip the
ex05_sequences_and_loops.zip file (by double-clicking on it) to reveal a
folder with the notebook file(s) for these exercises.
Once you have completed all exercises and the deadline has passed, you can find links to the solutions for each individual notebook via the Potluck dashboard.