Week 2: Operators
Learning Objectives
By the end of this week, students will be able to:
- Use arithmetic, comparison, and logical operators in Python expressions
- Predict the result of an expression before running it
- Distinguish between assignment and comparison
- Write small programs that combine input, variables, and operators
Perspectival Reading
Reading: TBD
Reflection Questions
- What kinds of mistakes can happen when we assume an expression means what we want instead of what Python actually evaluates?
- Why is it useful to separate storing a value from comparing two values?
- How does practicing with small expressions help with larger programs later?
Slides
Lab Assignment
Week 2 Lab — GitHub Classroom (link TBD)