Lesson 2: Writing simple programs

Outline:

  1. Recap Lesson 1
  2. Elements of programs
  3. Identify the parts of the chaos.py program

Explore after class:

  1. Elements of programs, continued
    • definite loops via range()
  2. Practice with loops: Exercise 4

Want more practice?

  1. Runestone:

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

  • Zelle chapter 2 (pp. 27-51)