Examples of Python source code or interactive sessions are
represented as \verbatim environments. This environment is a
standard part of LaTeX. It is important to only use spaces for
indentation in code examples since TeX drops tabs instead of
converting them to spaces. Representing an interactive session
requires including the prompts and output along with the Python
code. No special markup is required for interactive sessions.
After the last line of input or output presented, there should
not be an ``unused'' primary prompt; this is an example of what
not to do: >>> 1 + 1 2 >>> Within the \verbatim environment,
characters special to LaTeX do not need to be specially marked
in any way. The entire example will be presented in a monospaced
font; no attempt at ``pretty-printing'' is made, as the
environment must work for non-Python code and non-code displays.
There should be no blank lines at the top or bottom of any
\verbatim display. Longer displays of verbatim text may be
included by storing the example text