Records are useful when you can ask them questions: how many people in all, which heads are over 60, how many households in each barangay. Answering means deciding and repeating. This module covers both, on ten of the barangay’s households.
What you do
Section titled “What you do”- Deciding: if, elif and else
- Repeating: for and while; break and continue
- enumerate, zip and comprehensions
The module’s notebooks
Section titled “The module’s notebooks”- 30_decisions.ipynbDecisions and repetitionRead itCompanion · 7 exercises
The notebooks are in your course folder; here you can read them without running anything.
Quizzes
- Check-inAt the end of the module. A short check on “Decisions and repetition”, and how ready you feel; its answers show as soon as you submit.Check-in: Decisions and repetition ↗
The quizzes are on BNHR Quizzes and count toward nothing. Learning on your own, a quiz opens as the self-paced one; while a training runs, it asks which training you are in.