Beginner Python, in the browser

Python for kids: learn by making something work.

Python coding for kids, free and in the browser. Write a line, run it, and see what changed. CodeIt gives beginners a clear path through real Python without downloads or a wall of theory first.

What the lesson path covers

The path takes a beginner from a first print statement through variables, strings, if statements, loops, lists and reusable functions, then on to arithmetic, booleans, logical operators, type casting, string formatting and string methods.

From there the path continues into while loops, break and continue, importing modules, dictionaries, tuples and sets, slicing, list comprehensions, return values, scope, error handling with try and except, enumerate and zip, classes and objects, and recursion. It ends with a capstone: building a real game.

Each lesson introduces one idea, gives a runnable example, and ends with a challenge that requires changing the code.

How a parent knows the child understood it

When an assistant can write the code, finishing a project proves nothing about whether a child understood a line of it. Lessons completed, minutes spent and badges earned answer a different question.

So CodeIt asks. The comprehension questions are generated from the learner's own file. The correct answer is the value that learner actually wrote, and the wrong options are other real values from the same project, so the question cannot be answered by recalling a lesson or looking anything up. Only first attempts count.

What a parent reads back is a sentence describing something that happened, such as "worked out how many times a loop repeats", rather than a score or a percentage. A percentage invites comparison between children and says nothing about what one child can do.

Who it suits

Built for ages 8 to 14. The lessons also work for younger children alongside an adult, and for older beginners meeting Python for the first time. For a learner under 13 a parent creates a private managed profile after confirming the adult account email; profiles for ages 5–12 work this way, and independent student accounts begin at 13.

Lesson 1 opens without a download. The structured lesson sequence is currently Python only — the project studio is where learners work with HTML, CSS, and JavaScript.

What you can do on CodeIt

Built for ages 8 to 14. Younger children can use it alongside an adult and the lessons also work for older beginners. For a learner under 13 a parent creates a private managed profile after confirming the adult account email; profiles for ages 5–12 work this way. Independent student accounts begin at 13.