CS110: Winter 2021

Intro to Computer Programming with Python

CS110: Winter 2021

Lessons > 13. For Loops

Today, we will be introducing the “for loop” and using it to work with lists and sequences. We will also be exploring some different looping algorithms: applying while and for loops to do various kinds of computations.

Today's Activities

1. Download the Exercise Files

Exercise Files

2. Review the Slides

  1. More Loops: For Loops & Lists
  2. Supplementary Slides for Live Lecture

3. Review the Lecture Video(s)

Link Type Title Duration
Video 1 required Intro to for loops 8:14
Video 2 required Break and continue 6:40
Video 3 required The range function 8:54
Video 4 required Looping algorithms 14:02
Video 5 lecture Live Lecture 53:39

4. Do the Practice Quiz (Exercises)

Note: The quiz is to help you test your own understanding of the concepts. It is not graded, and is designed to help you to see what you already know and what you should review / ask about.
https://canvas.northwestern.edu/courses/130514/quizzes/132648/