Python for Kids · Class 6 · Module 3 of 9

Decisions with Conditions

This is where a program stops following one path and starts making choices.

8 sessionsSessions 17–24
4 weeksTypical pace
BeginnerLevel
Class 6Python & Coding
A path splitting at a decision diamond into a tick and a cross
The big idea

Conditions let a program ask a yes-or-no question and act on the answer. Every login screen, every game-over message and every “are you sure?” box in existence is built from this one idea, repeated at scale.

Why it matters

Decision logic is the bridge between a script that runs the same way every time and software that reacts to the world.

Unpacked

What you will actually learn

Three core ideas, each taught with worked examples and then practised until it feels obvious.

01

Booleans

A boolean has only two possible values: True or False. There is no “sort of”. Learning to phrase a question so it has a clean yes/no answer is half the skill.

02

If and else

if runs a block when the answer is True; else covers everything left over. elif lets you stack extra questions in between, checked in order from top to bottom.

03

Comparison operators

Comparison operators (>, <, ==, !=, >=, <=) are how you ask the question. Choosing > instead of >= is a one-character difference that changes who passes and who fails.

Did you know?

Python is one of very few popular languages where indentation is not a style choice — the spaces at the start of a line actually decide what belongs inside the if.

Common mix-up

“More ifs means smarter code.” Often the opposite. Two clear conditions usually beat six tangled ones, and are far easier to fix later.

Session by session

Your 8-session journey

Sessions 1724 of the 72-session year, at two one-hour sessions per week.

  1. 1

    Warm-up and big picture

    Where this module fits, what you will build, and a hands-on starter that gets everyone curious about booleans.

  2. 2

    Booleans

    Guided teaching on booleans, worked through together with the teacher.

  3. 3

    Booleans — practice lab

    Independent practice, small challenges and one deliberate mistake to diagnose.

  4. 4

    If and else

    Guided teaching on if and else, building directly on the previous two sessions.

  5. 5

    If and else — practice lab

    Applied tasks that combine booleans and if and else in one piece of work.

  6. 6

    Comparison operators

    Comparison operators introduced and practised, completing the toolkit needed for the project.

  7. 7

    Project build

    Guided build session for the module project: Choose-your-path story.

  8. 8

    Test, present and reflect

    Finish, test against the checklist, present the work and explain the decisions behind it.

Project lab

Choose-your-path story

Every module ends with something the student built themselves and can demonstrate. This is the piece that goes into their portfolio and gets explained out loud at the end of session 24.

Try this at home

Write a program that reads a test score and prints a grade. Then hand it to a sibling and challenge them to find a score that breaks it.

It is finished when

  • It works from start to finish without breaking
  • You can explain every part of it in your own words
  • You tested it and improved at least one thing afterwards
  • Someone else used or understood it without your help

By the end of this module

Students finishing Module 3 can:

  • Explain and use booleans without prompting
  • Explain and use if and else without prompting
  • Explain and use comparison operators without prompting
  • Build and finish choose-your-path story
  • Test your own work and correct what you find
  • Talk an adult through what you made and why

Word bank

The vocabulary introduced here, in plain language:

boolean
A value that is either True or False.
condition
A question the program tests before deciding what to do.
indentation
The spaces that show which lines belong inside a block.
Module challenge

Think you have got this?

0 XPLevel 1 · Curious Beginner

6 quick questions drawn from this module — vocabulary, the project you build, and a myth-or-fact round. Every wrong answer explains itself, so a mistake still teaches you something.

🎯 6 questions⚡ Up to 80 XP

Your child's free trial is one message away.

Tell us your child’s class and what they enjoy. We will suggest the closest program fit—no pressure and no upfront payment.