An online Python editor for kids
No login, no ads, nothing to install. Kids type Python, press Run and see what happens. Mistakes come with a hint in plain words. Try the guessing game below.
This code came from a shared link. Edits update this page's address, and your own saved code on this page is left alone.
Tab indents. Press Esc then Tab to leave the editor. Ctrl+Enter runs.
Press Run.
Why it suits a classroom
- No accounts. Nobody types an email or a password, so a class can start in a minute.
- Turtle graphics. Drawing is the quickest way to see loops and angles click.
- Games with input(). The guessing game asks questions right in the output box.
- Friendly errors. Each error names the line and says what to check.
- Works on Chromebooks and iPads. It runs in the browser.
- Share by link. Kids can send their program to a teacher or a friend.
Error messages in plain words
When something goes wrong, the output shows the line number, Python's own message, and a hint written for beginners. The line number turns red in the margin.
if x == 3with no colon: "A line that starts with "if" needs a colon ( : ) at the end."Print("hi"): "Python cares about capital letters. Did you mean print?""Age: " + 12: "You are mixing text and numbers. Use str(x) to turn a number into text…"
Five-minute challenges
- Change the guessing game so the number goes up to 100.
- Add a message when it takes more than 5 tries.
- In "Loop: times table", print the 12 times table instead.
- In "Turtle: square", draw a triangle. Hint: three sides, turn 120.
FAQ
Is it safe for kids?
There are no ads, no chat, no accounts and no tracking. Code runs in the browser and is not sent to us.
What age is it for?
Kids who can read and type, usually from about age 9 or 10. Younger kids often start with turtle drawings.
Can kids lose their work?
The latest code on each page is saved in the browser on that device. Shared or school computers may clear it, so have kids press Share and keep the link.
Does it cost anything?
No. The editor is free. A paid classes option for teachers is planned.
Pro for teachers: classes
Make a class and assign exercises with one link. Students open it, write their code and press Submit with just a name you choose for them. No student accounts and no student emails. You see every student's code and output in one list, and can run any of them.
This is an early project. Leave your email and we'll write only about the Pro version.