Name

println()

Examples
i = 123
f = 45.6
s = "this is a string"
list_of_stuff = ["foo", "bar", "baz"]
println(i)
println(f)
println(s)
println(list_of_stuff)
Description The println() function writes to the console area, the black rectangle at the bottom of the Processing environment. This function is often helpful for looking at the data a program is producing.

Using println() on an object will output a string representation of that object, as determined by its internal __str__ and __repr__ methods (more information here).

In Python Mode, print() and println() are functionally identical.
Syntax
println(what)
Parameters
whatdata to print to console
Related print()

Updated on Tue Feb 27 14:07:12 2024.

If you see any errors or have comments, please let us know.