Grades 6–12
Python Code Bricks
Tap bricks to stack them into a program. Press Run to see what Python would print. Make it match the goal.
Goal: make Python print
Hello Hello Hello
Code bricks (tap to add — you can reuse them)
A for-loop repeats the indented line under it.
Your program
- Tap bricks to stack your program
What this teaches
- How a Python for-loop repeats code
- Why indentation matters in Python
- Reading output to find bugs
Talk about it together
- What does range(1, 4) count through?
- What happened when the print line was not indented?
- How would you print a staircase of 5 steps?
This mission comes from Coding Pathway (Python): Coding Explorers
See the full program A beginner-friendly start: computational thinking, Python basics, debugging and a first real project.