While Loops, Early Return, List Accumulation
Slides
A PDF file of the lecture slides handout on while loops and early return.
A PDF file of the lecture slides handout on list accumulation patterns.
Readings
Think Python, Ch. 9: Iteration.
Audio
To supplement the suggested readings, we're producing some audio segments each week that cover high-level concepts and give advice about how to approach things.
You can access the material on loops and lists here.
Code
Click on this lec_temp_while_lstaccum.zip link to download
the .zip
file to your computer.
The unzipped folder contains the notebook for lecture activities.