print()
noun
say it: “PRINT” /ˈprɪnt/
The built-in Python function that shows text or values on the screen, ending with a new line.
What does print() do?
print() shows text or values on the screen. It is the quickest way to see what your program is doing.
print("Your order is ready!")
print("Items:", 3) # Items: 3
In a sentence
- “print() showed the order total so Sam could check the math.”
- “Adding a print() inside the loop showed which student the bug happened on.”
Level: Novice · More Python terms at this level
Updated