Scratch ask and answer as input()
Like Scratch ask and wait: input() shows the prompt, waits for a reply, and the answer is stored in a variable (name), just like the answer reporter.
Understanding Scratch ask and answer as input() in ACARA Digital Technologies Years 7–8
What it does: The prompt text sits inside the brackets and quote marks, just like the words typed into the ask block. The variable colour on the left of = keeps the reply so it can be used again, unlike the single answer reporter that gets overwritten. A clear name like name shows what the answer holds. Using input as a variable name would replace Python's input() function.
Common mistakes: Python has no ask() function. The Scratch ask and wait block is written as input(), so the line should be name = input("Your name? "). The prompt text inside input() is a string, so it needs quotes. It should be colour = input("Colour? ").
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
name = input("What is your name? ")Fill in the Blanks
Spot the Error
Student with a class code? Join your class →