Who this level is for
Kids who can print, use variables, and write a simple if. Parents: this is the bridge from play to real programs.
Ages 11–13. That is a guide, not a gate. If the examples feel slow, open Advanced. If they feel hard, stay here and run each sample in thePython editor.
What you will do
- Keep many things in a list
- Write a function you can reuse
- Use random to make a game surprise
- Find a bug and fix it
- Build a quiz, Hangman, and a story generator
Start with Lists of Things, then follow Next at the bottom of each page.
Real life — learn it faster
Each chapter ties the idea to something you already do: a backpack, a snack stall, a rainy window. Read the scene, run the code, then the syntax sticks.
Try this now
Copy into Try Python. Change the words. Run it.
Intermediate sample
pets = ["cat", "dog", "fox"]
for pet in pets:
print("Hello, " + pet)Chapter list
Twelve chapters. Lists and functions first, then three games.
- 📋 Lists of ThingsA list holds many items in order. Add, read, and loop through them.list · Index · Loop
- 🧩 FunctionsA function is a named recipe. Write it once. Call it whenever you need it.def · Call · Reuse
- ⏳ While Loopswhile repeats until a condition is false. Use it for games that keep going.while · Stop · Games
- 🎲 Random Surprisesimport random. Pick a number, a word, or a choice so each run is different.random · choice · randint
- 🗺️ Nested ChoicesPut an if inside an if. Build a small adventure with more than two paths.if · elif · Nest
- 📚 DictionariesA dictionary maps a key to a value. Store a score, a name, or a fact.dict · Keys · Values
- 🐛 Find the BugRead the error. Print a value. Change one thing. Run again.Errors · Print · Fix
- 📁 Tiny FilesSave a high score or a story to a file. Read it back next time.open · Read · Write
- 🧱 A First Web PageHTML is tags that paint a page. Open the HTML editor and make a title.HTML · Tags · Preview
- ✅ Project: QuizAsk three questions. Keep a score. Print how you did.Score · if · Project
- 🎪 Project: HangmanGuess letters. Keep the secret word in a list. Stop when it is complete or lives are gone.Lists · while · Project
- 📖 Project: Story GeneratorPick random words from lists and print a new story every run.random · Lists · Project
After this level
After the last chapter, continue to Advanced. Same editor. Bigger ideas.
Back to Kids home if you want to switch levels.