{ }
STEM Club / Python Lab
A place to learn, practise and explore
WELCOME TO PYTHON LAB

Code makes more sense when you try it.

Start with a short lesson. Look up words in Maisha's Notes. Then try writing your own Python code. No account needed.

1. Learn

Choose a short lesson and read the example.

2. Look it up

Find confusing words in Maisha's Notes.

3. Try it

Open the playground, change the code, and press Run.

Think about it like this
Let’s do it step by step

Try this code

Your turn
Finished reading and practising?

When you feel ready, choose Finished lesson. That unlocks the quiz for this lesson. You can always come back and review.

YOUR CODING SPACE

Python Playground

Choose a sample or write your own code. Press Run to see the result below.

Starter mode: ready offline
● ● ●main.pyCtrl / Cmd + Enter to run
Press “Run code” to see the output.

You can leave this blank. When a program asks a question, a pop-up will appear. Or enter one answer per line here to run without pop-ups.

No jargon without explanation

Maisha's Notes

Search for a word, read a simple explanation, and try an example.

CHECK WHAT YOU LEARNED

Lesson quizzes

Finish a lesson to unlock its quiz. After submitting, you return to that lesson to see your score and explanations. You can review and retake as often as you want.

Pick a lesson

Start with a lesson

Quizzes are locked until you mark their lesson as finished. Select any lesson to begin.

Practice makes progress

Practice challenges

Every challenge starts with an empty editor. Use what you learned to write your own program. If you get stuck, check a lesson or Maisha's Notes.

About this learning space

Made for the STEM Club

This is a small website to help beginners read, practise and explore Python. The lessons, notes and starter playground work offline when downloaded.

Privacy and school use

The site doesn't use student accounts, tracking, ads or upload code to our own server. Practice happens in the browser. Full Python optionally downloads a runtime from an external content delivery network, which a teacher or school IT team should approve before using on school devices. No guarantee of TDSB approval is implied.

What it covers: This is a broad beginner-to-intermediate reference, not a dictionary of every Python feature or external package. Python continues to evolve. For comprehensive documentation, use the official Python reference.

Official Python tutorial ↗ · Standard library reference ↗ · Pyodide project ↗

Sharing with classmates: A downloaded HTML file can be opened locally. To give students a normal link, publish this file only through a teacher-approved hosting option (for example an approved school site or course page). Ask whether external JavaScript/WebAssembly downloads are permitted.

For the teacher

Suggested teaching rhythm: show → explain → students copy → students experiment. Start with print and variables; introduce input, conditions and loops only after the basics make sense.