Lecture: Sequences and Loops


Important: The slides for "Sequence and Loops" will be covered over two lectures, pace yourselves, there is a lot of new material in these slides.

  1. Sequences and Loops - PDF Slides.
  2. Graphics with Loops examples - PDF Slides.


Think Python, Ch. 8: Strings.


Click on the lec09_10_sequences_loops.zip to download the .zip file to your computer. Folder contains the notebook and code for lecture activities.

Solutions (for after class)

Use these sample solutions for review only after you have completed the code exercises. You will learn much more by trying them first and comparing your approach with the solutions.

I have made a genuine effort to complete the code exercises. Show me the solutions.

Study Guide