prints expr as output.


  • In a notebook, Print generates a cell with style "Print".
  • Print can print any expression, including graphics and dynamic objects.
  • Print[expr1,expr2,] prints expri concatenated together, effectively using Row. »
  • With a textbased interface, Print ends its output with a single newline (line feed).
  • You can arrange to have expressions on several lines by using Column. »
  • Print sends its output to the channel $Output.
  • Print uses the format type of $Output as its default format type.


open allclose all

Basic Examples  (2)

Print x+y, then print a+b:

Print the first 5 primes:

Scope  (7)

Print graphics:

Print a column of expressions:

Print normally prints in StandardForm, so strings do not have quotes:

Print in InputForm:

Print in TraditionalForm:

Print in a specified style:

Print active controls:

Print a button:

Generalizations & Extensions  (1)

Print several expressions concatenated together:

Applications  (2)

Print Mersenne primes as soon as they are found:

Print a sequence of graphics:

Properties & Relations  (1)

The actual expression returned by Print is Null:

Wolfram Research (1988), Print, Wolfram Language function, (updated 2007).


Wolfram Research (1988), Print, Wolfram Language function, (updated 2007).


Wolfram Language. 1988. "Print." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007.


Wolfram Language. (1988). Print. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_print, author="Wolfram Research", title="{Print}", year="2007", howpublished="\url{}", note=[Accessed: 21-July-2024 ]}


@online{reference.wolfram_2024_print, organization={Wolfram Research}, title={Print}, year={2007}, url={}, note=[Accessed: 21-July-2024 ]}