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.")
We print something on the standard output.
A couple of lines.

One line out

print('one line out')
one line out

Two lines out

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

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

Gallery generated by Sphinx-Gallery