Processing has a console area at the bottom of its IDE which we can print to it, but no direct typing.
Instead we type in our code text on the PDE’s window area.
Use command print in order to output the result of an expression onto the bottom console area.
As an example, running the following Python Mode code below:
print 23 + 56 - 4
print 3 ** 5
print PI, TAU
exit()
will output these values onto the console area:
75
243
3.14159274101 6.28318548203