Scratch scripts and typed Python side by side
One typed line of Python matches one Scratch block. A stack of blocks becomes lines of code that run in order from the top, so spelling and punctuation must be exact.
Understanding Scratch scripts and typed Python side by side in ACARA Digital Technologies Years 7–8
What it does: Each block in the stack becomes one line, and the lines run from top to bottom just like the blocks. Python has no hat block, so the first typed line of the file is where the program begins running. Text must sit inside quote marks in Python. Scratch does not need them, but Python does. Scratch uses dragging blocks. Python uses typing, so you are responsible for every character. Python cannot guess. A spelling mistake causes an error, so check every letter. Every opening bracket needs a closing bracket. The missing ) in the wrong answer would cause a syntax error.
Common mistakes: Python is case sensitive. The Scratch say block becomes print() with a lowercase p. Print is not a known name. It should be print(name). Items inside print() must be separated by a comma, just as a Scratch block needs each value in its own slot. It should be print("Score:", score).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 482–519) and word search (Modules 420–519).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
print("Hi")Fill in the Blanks
Spot the Error
Student with a class code? Join your class →