← Python

print() function

print() displays output to the console

What it does: print() is the function that writes output to the console — usually the first thing anyone learns in Python, since it lets you see what a program is doing. Text (a "string") goes inside parentheses, wrapped in quotes: print('Hello World'). Single and double quotes both work, as long as they match on both ends. Calling print() with nothing prints a blank line.

Common mistakes: Python is case-sensitive, so Print('Hi') (capital P) raises an error — it must be lowercase. Forgetting the quotes around text, or mismatching single and double quotes, is another common slip.

Class: _____________________  ·  Name: _____________________  ·  Date: _________

Free printable worksheet with full answer key — or add this module to a journey and assign it to your class.

Take this worksheet further — free with Cloodit

Each concept is reinforced from every angle — learned, then applied, then tested.

Learning
Duo
What does print('Hello') display?
print('Hello')Hello
Matches
❌ Print('Hi')
Error: Capital P
Applying
Meanings
Term
print('Hello World')
Meaning
Will display text to console.
Practice
print('Welcome to Python!')
Testing
Gaps
('Hello, world')
Check Answer
Spots
1print('Welcome')
2Print('Hello')

Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.

The 'Silverback Gorilla' badge — Savannah Master, one of Cloodit's 106 collectible badges
Students earn collectable badges

Over 100 of them, across seven natural biomes.

Study Buddy
Students build a real study resource

Turns their work into revision material ready for Flash Cards and Exam study.

Diamond Dash — one of Cloodit's live, competitive Sprint games
Students lock in with Sprints

Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.

A Cloodit certificate of achievement, ready to personalise and print
Custom printable certificates

Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.

Quick Questions

1. What does print('Hello') display?
A. print('Hello')
B. Hello ✓
print() shows the text inside the quotes — not the quotes themselves
2. Which is correct?
A. print('Hi') ✓
B. Print('Hi')
Python is case-sensitive — print must be all lowercase
3. What does print() display?
A. A blank line ✓
B. The word 'print'
print() with nothing inside outputs a blank line — it still runs
4. Which quote marks work?
A. Only "
B. Both ' and " ✓
Python accepts single quotes or double quotes — either works
5. What does print('Welcome') do?
A. Shows: Welcome ✓
B. Waits for input
print() displays text and moves on — it's input() that waits

Match the Pairs

Print('Hi') Error: Capital P
print(Hi) Error: Missing quotes
print('Hi') Valid: Syntax
print("Hi") Ok: Double quotes
print('Hello') Output: Hello
print() Output: (blank)

Key Term

print('Hello World')
Will display text to console.

Fill in the Blanks

1. print('Hello, world')
2. print("Hello, world")
3. print('Hello, world')
4. print('Hello, world')
Hint: Type: ('
5. print('Hello, world')

Spot the Error

Question 1
A print('Welcome')
B Print('Hello')
C print('Goodbye')
Line B — Capital P error
Question 2
A print('Hi')
B print('How are you?')
C print(Bye)
Line C — Missing quotes
Question 3
A print('First line')
B print 'Second line'
C print('Third line')
Line B — Missing brackets
Question 4
A print('One')
B print('Two')
C print('Three'
D print('Four')
Line C — Missing closing bracket
Question 5
A print('Start')
B print('Middle)
C print('End')
Line B — Mismatched quotes
For Teachers

Create a free class, add this module to a journey, and track who's stuck.

Create a free teacher account →

No credit card. No setup fee. Make a class and invite students in under three minutes.

For Students

Practice this topic interactively, track progress, and unlock badges.

Start Learning Free →

Have a class code?