This lesson progresses to multi-branch selection, then introduces while, the general-purpose iterative structure available in Python.
Learners will explore problems that will allow them to deepen their comprehension of when and how selection should be used. For example, they will build programs that check the weather conditions where they are living and display appropriate responses. They will also be introduced to iteration, making sure that they understand the mechanics of how it works, before they go on to build their own iterative programs in the next lesson.
- Use multi-branch selection (if, elif, else statements) to control the flow of program execution
- Describe how iteration (while statements) controls the flow of program execution