Lesson 5: Listing and looping

Outline:

  1. Recap Lesson 4
    • indexing and slicing strings
    • str loops with ord/chr
    • Exercise 0
  2. Other handy string functionality
  3. Python lists as sequences
    • loops
    • basic operations
  4. Recap so far – prep for Quiz #1

Explore after class:

  1. More practice with lists
  2. Common looping patterns

Want more practice?

  1. Runestone:

Reading assignment (to be completed by the next class):

  • Zelle sections 5.3 (pp. 136-138)
  • Zelle sections 11.2.1 (pp. 366-367)