Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 exam•Written by the Fiveable Content Team • Last updated September 2025
Definition
The command "print()" displays the specified value(s) on the screen. It allows you to output information, such as variables, messages, and expressions.
Related terms
output: The result produced by a program or function. In this case, the displayed message or value using print().
variable: A named storage location in memory used to store data during program execution.
expression: A combination of values, variables, and operators that evaluates to a single value.