Lesson 2: Writing simple programs
Outline:
- Recap Lesson 1
- Elements of programs
- identifiers
- expressions
- statements
- output
- assignment (simple, simultaneous)
- Identify the parts of the
chaos.py
program - Elements of programs, continued
- definite loops via
range()
- definite loops via
Explore after class:
- Expressions: Exercises 1 + 2
- Loops: Exercise 3
Reading assignment (to be completed by the next class):
- Zelle chapter 2 (pp. 27-51)