PRIMMcode — for classrooms

Learn Python through play, progress, and purpose.

PRIMMcode is a gameified Python adventure for KS3 and KS4 classrooms. Explore 12 Python courses — from your first print() to input validation, debugging, text files and multi-file projects — earning XP and badges as you learn. GCSE and extension challenges offer independent practice, while the Python Playground gives students a free space to experiment in Basic or Advanced view.

12courses
222missions
52badges to earn
0accounts needed
PRIMMcode icon
PRIMMcode

Predict · Run · Investigate · Modify · Make

Gameified Python journeys for classrooms

Level 1 · World 1PREDICT

Wake the Welcome Bot

def welcome_bot():
    print("Welcome to PRIMMcode!")

welcome_bot()

Built-in Python IDE

Edit, run, investigate

Classroom-ready

Class codes, save codes

12 Python courses

Beginner skills to advanced projects

Python Playground

Basic + Advanced, plus challenge practice

The pedagogy

A strong framework, made visible

PRIMM isn't just a theory — it's woven into every mission, every interaction, every moment of feedback in PRIMMcode.

P

Predict

Students read and reason before they run. Mental models are built before execution.

R

Run

A built-in Python lab brings code alive with console output and animated visuals.

I

Investigate

Execution events, guided prompts, and visual traces illuminate what happened and why.

M

Modify

Starter missions ask learners to edit working code with confidence and clear direction.

M

Make

Create tasks gradually remove scaffolding so students can build original programs.

The journey

12 courses, from first steps to project builds

Courses 1–8 introduce the foundations in order: completing a core course unlocks the next. Courses 9–12 add 48 extension missions for the next stage, with separate progress and no change to the original roadmap. Move from guided PRIMM tasks to testing, debugging and building your own projects.

1

First things first

In this course students learn syntax basics, comments, structure and a procedures-first approach to Python.

7 missions · Core course

2

Inputs, outputs and variables

Students learn printing outputs to the screen and how variables store and recall information.

11 missions · Core course

3

IF completed THEN winning

Students learn IF, IF/ELSE, comparison operators and ELIF selection statements.

12 missions · Core course

4

Looping Legend

Students learn WHILE loops, loop conditions, FOR loops and loops combined with selection.

14 missions · Core course

5

Maths Mastery

Students use Python operators, int() casting, modulo and integer division for useful calculations.

10 missions · Core course

6

Procedurally Perfect!

Students compare procedures and functions, use return, and combine callable blocks.

8 missions · Core course

7

Passing more Points

Students pass values into procedures and functions, then pass returned values between blocks.

9 missions · Core course

8

One more ticked off the list

Students create, read, update, search and loop through Python lists.

15 missions · Core course

9

Reliable input and robust programs

Clean and validate input, handle decimal conversion safely and justify boundary tests.

12 missions · Extension course

10

Debugging, tracing and data algorithms

Step through local state, repair logic and build reusable list algorithms.

12 missions · Extension course

11

Text files and persistent data

Read, append and write virtual files; validate records and build dependable reports.

12 missions · Extension course

12

Modular programs and project builds

Separate UI, logic and storage; test repeat-run behaviour and package a complete project.

12 missions · Extension course

Bonus: Python Express Journey Extra

The original all-in-one adventure — 46 levels ending in a printable certificate. Playable any time with separate progress, so it's perfect for homework.

GCSE Python Challenges

24 structured challenges across eight topics for Year 10 and Year 11. Steps, hints and worked blueprints support independent practice, with separate progress from your main course. Open the GCSE challenge hub on the student dashboard.

Extension Python Challenges

18 challenges across 6 sets build on Courses 9–12. Support, Core and Stretch guidance helps students develop validation, algorithms, file handling and modular project skills. Pick any task, reveal help when needed and reset or reattempt it from the student challenge hub.

Explore beyond the lessons

Primm Tools

Extra ways to practise and create: investigate networking and DNS in NetLab, find shortest routes with Dijkstra and A* in PathLab, explore SQL and databases in QueryLab, investigate data structures in StructureLab, explore images, sound and compression in DataLens, explore assembly, pipelining and interrupts in CoreLab, trace algorithms in TraceRunner, practise number systems in BaseRush, or code freely in Python Playground.

Explore Primm Tools

What's included

Everything you need

12 courses: beginner to advanced

Courses 1–8 build confidence with inputs, selection, loops, maths, functions and lists. Courses 9–12 extend those skills into reliable input, debugging, data algorithms, text files and modular projects.

Homework and independent challenges

A 46-level Express Journey supports homework and a printable certificate. Choose from 24 GCSE challenges and 18 extension challenges, with optional steps, hints and worked blueprints.

Python Playground: Basic and Advanced

Start with an editor and output window, then switch to an interactive console, step-by-step debugging, a variable viewer and multi-file projects. Experiment freely without objectives or XP targets.

Daily challenges and streaks

A fresh challenge every day — complete levels, whole worlds, or error-free runs to earn bonus XP, with streak badges for coming back day after day.

XP, 52 badges, and leaderboards

Skill, course, daily, and achievement badges fill a badge cabinet on every student's dashboard, and a class leaderboard keeps friendly competition alive.

No student accounts needed

Students join with a class code in under 30 seconds using a nickname and PIN. No emails, no passwords, no friction — a save code lets them resume anywhere.

Teacher dashboard and reports

Create classes, preview lessons and solutions, track progress and download CSV or Excel reports. Add another teacher by verified email so they can monitor the class and help students recover save codes and PINs.

Built-in Python Help

Search syntax, examples and plain-English explanations from lessons or the Playground, including guidance for debugging, text files and reusable modules.

Instant animated feedback

Guided lessons connect code to animated visuals; advanced workspaces let students inspect console output, changing variables and project files to understand what happened.

Reliable code checking

Construct-aware validation checks for def, input, loops, and logic — with child-friendly error messages instead of brittle exact-output matching.

Support, Core and Stretch

Extension tasks make progression explicit: extra guidance for students who need it, a clear core goal, and teacher-reviewed stretch ideas for learners ready to go further. The procedures-first PRIMM approach stays consistent.

Dark, Light and High Contrast themes

Choose the display that suits you from the top navigation. Themed text, backgrounds and clear selection states keep lessons and teacher tools readable.

Ready to start coding?

Students join with a class code in under 30 seconds. Teachers set up a class even faster.

PRIMMcode icon
PRIMMcode

Predict · Run · Investigate · Modify · Make