Lesson 3: Computation by accumulation
Outline:
- Recap Lesson 2
- Repetition via
for
loops - Accumulator pattern (practice with
for
loops!)- multiplication
Explore after class:
- More accumulator patterns
- growing flowers (see slack)
- Exercises 3+4
- The
math
library
Reading assignment (to be completed by the next class):
- Zelle chapter 3 (pp. 57-76)
- Assignment #2 (due next Thursday at 10pm)