Learning overview
- Estimated time
- 4 minutes
- Difficulty
- Beginner
- Prerequisites
- No prior experience required
- Learning outcome
- Explain python using a clear mental model · Apply python in practical Python work
- Last updated
- July 20, 2026
What print() does
print sends values to the output screen. Beginners use it to display messages, check calculations, and inspect variables while learning.
print("Welcome")
print(100)
print(3 * 4)Output
Welcome 100 12
Printing multiple values
You can pass several values separated by commas. Python inserts spaces between them by default, which is handy for labels and results together.
name = "Riya"
score = 18
print("Player:", name, "Score:", score)Output
Player: Riya Score: 18
Why print matters beyond Hello World
Before fancy debuggers, print helps you see whether a value is what you expect. Temporary print lines are a healthy beginner habit.
Common print mistakes
Missing parentheses, mismatched quotes, and forgetting commas between values are the usual early errors. Read the syntax error line and compare with a working example.
- Use print("text") with matching quotes
- Use commas between separate values
- Remember print is a function call with parentheses in Python 3
- Do not expect print to store a value for later — it displays
Frequently asked questions
Is print a keyword or a function?
In Python 3, print is a built-in function, so you call it with parentheses.
Can print show variables?
Yes. Pass the variable name without quotes so Python shows the stored value.
Does print change the variable?
No. It only displays. The stored value stays the same unless you assign a new value.
Should every line use print?
No. Use it to communicate with the user or to inspect values while learning. Finished programs often print only final useful results.
Topic graph
A taxonomy-generated path through this subject.
Related courses
Related learning
Recommended automatically from shared technologies, topics, intent, and difficulty.
Related Guides
Related Tutorials
Related Glossary
Related Cheatsheets
Related Projects
Related Interview Questions
Related reading
Hand-picked companion pages that deepen this topic.
Your next steps
