Name

print()

Examples
i = 123
f = 45.6
s = "this is a string"
list_of_stuff = ["foo", "bar", "baz"]
print(i)
print(f)
print(s)
print(list_of_stuff)
Description The print() 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 print() 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
print(what)
Parameters
whatdata to print to console
Related print()
Updated on Tue Jul 11 06:52:24 2017.
Creative Commons License