title: Multiline statements using Python doctest
body: <p>Is it possible to work with multiline statements using python doctest?</p>
  
  <p>For example, the following is not working in doctest:</p>
  
  <pre><code>&gt;&gt;&gt; for s in [1,2,3]:
  ...     for t in [4,5,6]:
  ...         print(s*t)
  </code></pre>
  
  <p>I need the above three statements to be executed from doctest.</p>