Lecture 10: Control Flow 2
Info and Materials
- Date: July 29, 2025
- Topics: Writing Loops Part 1
- Slides: View Slides
- Code: No in-class code to download
Learning Objectives
- Understand how for loops work and how to trace values at each iteration
- Learn how to track and save results during a loop (e.g., running totals)
- Recognize the difference between looping over indexes and over elements
Before Class
- Review Lecture 9 materials to get ready for today’s in-class quiz
- Bring your laptop to every class
Readings
No readings.