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.
Updated on Mon Sep 21 15:53:25 2020.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License