Functions – Parameters
Parameters are placeholders in a function definition that accept values when the function is called
Understanding Functions – Parameters in Python
What it does: 'Alice' is passed as the argument for the parameter 'name'. Multiple parameters are separated by commas in the def line. Parameters are the names in the def line — they receive the argument values. Arguments are the values you pass when calling the function. 3 goes to a, 5 goes to b — a + b = 8. def func(a, b, c): is perfectly valid — separate with commas. greet() expects one argument (name) but none was given — TypeError. Two calls to show() — each call prints once, so two lines print.
Common mistakes: Missing colon after the parameter list. Parameters don't use quotes: name is a variable, not a string.
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 21–30) and word search (Modules 21–40).
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
ParameterFill in the Blanks
Spot the Error
Student with a class code? Join your class →