Week 3: Data Types
Learning Objectives
By the end of this week, students will be able to:
- Distinguish among integers, floats, strings, and booleans
- Convert values from one type to another when appropriate
- Predict how Python behaves when types are mixed in an expression
- Use string operations to inspect and build text values
Perspectival Reading
Reading: TBD
Reflection Questions
- Why does it matter that the same characters can mean different things depending on their data type?
- When should a number be stored as text instead of as a numeric value?
- How can paying attention to types prevent bugs before they happen?
Slides
Lab Assignment
Week 3 Lab — GitHub Classroom (link TBD)