๐งช Free ยท 988 challenges
Code Lab: predict, debug, fix, build.
Short coding challenges for every Python and JavaScript lesson. Say what a program prints, find the line that breaks it, drag in the line that fixes it, or put a jumbled program back in order. Then watch it run one line at a time, with every variable drawn as a box.
Read a program and say what it prints, then watch it run line by line.
One line is lit. Say what a variable holds right after it runs: the skill behind every debugger.
One line is wrong. Tap it, see what it printed and what it should print.
A line is missing. Drag the one that makes the program work.
The lines are mixed up. Put them in order so the program runs.
๐ Python from scratch
Beginner ยท ages 10 and up
๐ค Python for Grade 5
Grade 5 ยท ages 10 and 11 ยท no experience needed
๐ฐ๏ธ Python for Grade 8
Grade 8 ยท ages 13 and 14 ยท no experience needed
๐งฑ Python OOP: classes and objects
Grades 9 and 10 ยท ages 14 to 16 ยท after a first Python course
๐จ JavaScript for Grade 10
Grade 10 ยท ages 14 to 16 ยท after an introduction to JavaScript
๐ Python to Software and AI Engineer
Ages 13 to 17 ยท after the basics ยท one 60-minute class a week
๐๏ธ Python data structures: lists, tuples, dictionaries
Grades 9 to 12 ยท ages 14 to 18 ยท after a first Python course
๐ค AI and machine learning for kids: build it in Python
Ages 11 to 14 ยท complete beginners ยท Python from lesson 1
How the Code Lab works
Every challenge comes from a real lesson and is checked by running the code: a wrong choice is a program that really prints something else. Each round has twelve challenges; the ones you miss come back at the end. After each answer, โถ Watch it run steps through the program line by line, showing what Python keeps in memory and what it prints, so you see why the answer is right.