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)
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.