Who this level is for
Teens who already loop, use lists, and can read a short function. When this level is done, the main Python track is next.
Ages 14–16. That is a guide, not a gate. If this feels slow, go to the Python tutorial. If they feel hard, stay here and run each sample in thePython editor.
What you will do
- Return values from functions
- Read and write a simple file
- Group data in a class
- Think in steps (algorithms)
- Ship a to-do list and a scored quiz, then join the main tutorial
Start with Functions that Return, 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.
Advanced sample
def score(points):
return sum(points)
print("Total:", score([10, 20, 5]))Chapter list
Twelve chapters. Then join the main Python tutorial.
- ↩️ Functions that Returnreturn sends a value back. Call the function. Use the result.return · def · Use
- 📦 Modulesimport a library. math, random, and datetime do work you should not rewrite.import · math · datetime
- 🧱 A First ClassA class groups data and actions. Make a Player with a name and a score.class · self · Object
- 📊 Data TablesA list of dictionaries is a tiny table. Loop, filter, and print a report.dicts · Lists · Report
- 📑 Files and CSVRead rows from a CSV-style file. Total a column. Print a clean summary.CSV · Files · Totals
- 🌐 Build a PageHeadings, a list, and a link in the HTML editor. A page you can show someone.HTML · Layout · Links
- 🧠 Think in StepsAn algorithm is a plan. Search a list. Sort a few numbers. Count how many steps.Search · Sort · Plan
- ✨ Clean CodeNames that mean something. Short functions. Comments only when the code cannot say it.Names · Functions · Comments
- ☑️ Project: To-DoAdd, list, and remove tasks. A list in memory, then save it to a file.Lists · Menu · Project
- 🏅 Project: Scored QuizQuestions in a list of dicts. Track score. Print a result you can explain.dicts · Score · Project
- 🚪 What's NextYou can read Python. The main tutorial, HTML, and Try Python are the next rooms.Path · Tutorial · HTML
- ➡️ Join the Main TrackOpen Python Intro, then Get Started. Skip what you already know. Keep Next.Python · Intro · Next
After this level
Next is the Python tutorial — start atIntro and skip what you already know. HTML lives in the HTML studio if you want a page, not a printout.
Back to Kids home if you want to switch levels.