Python 3 Tutorial · Chapter 4 of 22
Python Output
Display text with print.
print() sends text to the console. Each call usually ends with a new line.
You can print several values separated by commas, or use f-strings for formatting.
print example
Try it Yourself »
print("Hello, World!")
print("CoderKiosk Python Lab")
Classroom Tips
- Put quotes around text.
- Use sep= and end= when you need custom spacing.