Topics
- More on Statements and Syntax
- Control Structures and Loops
- Iterators
- Comprehensions
Outcomes
- Recognize primary control structures available in Python and their basic use cases
- Write comprehensions for each of Python’s list-like data structures
- Recognize when iterators are used by Python functions (such as open())
- Understand basic conditional logic statements and their role in designing data flow in a program
Readings
Required
-
Lutz, 2019, Part III, Chapter 10. Introducing Python Statements
-
Lutz, 2019, Part III, Chapter 11. Assignments, Expressions, and Prints Read only up to and including “The Python 3.X print Function.”
-
Lutz, 2019, Part III, Chapter 12. if Tests and Syntax Rules
-
Lutz, 2019, Part III, Chapter 13. while and for Loops
-
Lutz, 2019, Part III, Chapter 14. Iterations and Comprehensions
-
Lutz, 2019, Part III, Chapter 15: The Documentations Interlude