Week 4 - Control (loop)
loop, for, while, list, dict, json
Week 4 - Control (loop)
In this session, we will delve into the building blocks of control flow, particularly looking at how to create and use loops. We will also explore the Python data structures, list and dictionary, and learn how to use them in loops.
Goals
- How to repeat a task using loops
- Python constructs for loops and while loops
- Control the flow of a loop using break and continue
- Python data structures: list and dictionary
Slides
Labs
Readings
This post is licensed under CC BY 4.0 by the author.