Standard Output (second time)ΒΆ

This example captures the stdout and includes it in the example. If output is too long it becomes automatically framed into a text area.

print('We print something on the standard output.')
print("A couple of lines.")

Out:

We print something on the standard output.
A couple of lines.

One line out

print('one line out')

Out:

one line out

Two lines out

print('one line out')
print('second line out')

Out:

one line out
second line out

Total running time of the script: ( 0 minutes 0.001 seconds)

Gallery generated by Sphinx-Gallery