Python for Kids · Class 8 · Module 1 of 9

Confident Python

The same program can be written twice: once so it runs, once so it lasts.

8 sessionsSessions 1–8
4 weeksTypical pace
Foundation to IntermediateLevel
Class 8Python & Coding
A tidy code window with a sparkle badge
The big idea

This module raises the standard from working code to professional code — consistent naming, sensible structure, deliberate use of types and operators, and a repeatable routine for tracking down bugs.

Why it matters

Class 8 projects are large enough that sloppy code genuinely slows students down. Fixing habits now saves the whole year.

Unpacked

What you will actually learn

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

01

Style and naming

Style and naming follow shared conventions — snake_case for variables, descriptive nouns for data, verbs for functions. Consistency is what makes code skimmable.

02

Types and operators

Types and operators deserve precision: integer division //, remainder %, and knowing when floating-point maths will surprise you.

03

Debugging workflow

A debugging workflow beats guessing: reproduce it, isolate it, print or inspect the values, fix one thing, re-test. Every step in order, every time.

Did you know?

In Python, 0.1 + 0.2 does not equal 0.3. It equals 0.30000000000000004 — a consequence of storing decimals in binary that affects every language, not just Python.

Common mix-up

“It runs, so it is finished.” Running is the minimum. Readable, testable and explainable is finished.

Session by session

Your 8-session journey

Sessions 18 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 style and naming.

  2. 2

    Style and naming

    Guided teaching on style and naming, worked through together with the teacher.

  3. 3

    Style and naming — practice lab

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

  4. 4

    Types and operators

    Guided teaching on types and operators, building directly on the previous two sessions.

  5. 5

    Types and operators — practice lab

    Applied tasks that combine style and naming and types and operators in one piece of work.

  6. 6

    Debugging workflow

    Debugging workflow introduced and practised, completing the toolkit needed for the project.

  7. 7

    Project build

    Guided build session for the module project: Code quality makeover.

  8. 8

    Test, present and reflect

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

Project lab

Code quality makeover

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 8.

Try this at home

Take your longest program from Class 7 and rewrite it without changing behaviour. Compare line counts and clarity before and after.

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 1 can:

  • Explain and use style and naming without prompting
  • Explain and use types and operators without prompting
  • Explain and use debugging workflow without prompting
  • Build and finish code quality makeover
  • 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:

convention
An agreed style rule shared across a language.
floating point
How computers store decimal numbers, approximately.
code smell
A sign that code, while working, needs restructuring.
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.