Exercises: Exercises 5: Sequences & For Loops
This week has 3 exercise notebooks:
-
A_ex_misc_sequences.ipynbgives practice with indexing, lists, and therangefunction that you'll be using in the other notebooks. Because these concepts won't be covered in lecture until the Fri Feb 20 Lec 9 on Sequences & Loops, you are stronly encouraged to skim the slides for that lecture if you wish to work on this notebook before that lecture. B_ex_lab_loops.ipynbfor Lab 5.C_ex_lec_for_loops.ipynbcovers additional material from the Sequences & Loops Lecture.
You should finish most of these notebooks 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 straightforward. We're trying to help build up your mental-muscle-memory for a new concepts related to sequences and loop by giving you plenty of practice!
Code
Click on this
ex05_sequences_and_loops.zip link
to download the .zip file for this week to your computer. Unzip the
downloaded ex05_sequences_and_loops.zip file (by double-clicking on it) to reveal a
folder with the notebook file(s) for these exercises.
Solutions
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.