Your script has access to stdout and stderr for writing output. The API also returns the program’s exit code.

Write to stdout

The execute code endpoint returns anything your script writes to stdout as the value of the stdout parameter.

Write to stderr

The execute code endpoint returns anything your script writes to stderr as the value of the stderr parameter.