Print[expr]
prints expr as output.
Details
- 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 text‐based 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.
Examples
open allclose allScope (7)
Print a column of expressions:
Print normally prints in StandardForm, so strings do not have quotes:
Print in InputForm:
Print in TraditionalForm:
Wolfram Research (1988), Print, Wolfram Language function, https://reference.wolfram.com/language/ref/Print.html (updated 2007).
Text
Wolfram Research (1988), Print, Wolfram Language function, https://reference.wolfram.com/language/ref/Print.html (updated 2007).
CMS
Wolfram Language. 1988. "Print." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/Print.html.
APA
Wolfram Language. (1988). Print. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Print.html