Previous Lecture | Lecture 10 | Next Lecture |
Lecture 10, Mon 11/06
More on accumulator pattern, while loops, 2D lists and nested loops
Resources from lecture
Topics
-
Loop patterns: iteration, counter, accumulator, sequence: Learn to implement each loop pattern and identify which pattern is the best match for a given problem
- Accumulator pattern (more examples)
- While loops and games
- 2D lists and nested loops
If time permits:
- Multiway if else statements
- Mutable vs immutable