Skip to content
Learn Python with BNHR

Module 4 · Beginner

Decisions and repetition

Module 4 of Python Essentials: if, elif and else; for and while loops; enumerate, zip and comprehensions, on the barangay's records. Its sections, its notebooks to read on the web, and the companion's solutions and explanations.

Module 4Level Beginner
On this page
  1. Overview
  2. What you do
  3. The module’s notebooks
  4. Quizzes
  5. Certification and support

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.

  1. Deciding: if, elif and else
  2. Repeating: for and while; break and continue
  3. enumerate, zip and comprehensions

The notebooks are in your course folder; here you can read them without running anything.

Quizzes

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.

Saved in this browser only

Certification and support

We offer additional resources, certificates, ongoing support, and other perks to those who join our instructor-led training.

Join an upcoming training to take this as an instructor-led course, or contact us to arrange one for your team or organization.

Something new

Identify results
LayerExplore a module
ModuleDecisions and repetition
AboutModule 4 of Python Essentials: if, elif and else; for and while loops; enumerate, zip and comprehensions, on the barangay's records. Its sections, its notebooks to read on the web, and the companion's solutions and explanations.
CoursePython Essentials, free