Python - Beginner questions
<p>I am at the beginning of Python programming and have a few questions.
When I run the code, I get this compile error:</p>

<blockquote>
  <p>IndentationError: unindent does not match any outer indentation level</p>
</blockquote>

<ol>
<li>I think the error comes, because of the <code>return</code> in the last line. What should I do differently?</li>
<li>And I don't understand this line. What does this mean? 

<blockquote>
  <p>print "%d : %7d" % (i,2**i)</p>
</blockquote></li>
</ol>

<p>I know, what the print command does, but what does the rest mean?</p>

<pre><code>def whileexample():
    n=15;i=0; # Mit Semikolon = Variablen in einer Zeile schreiben

    while i&lt;=n:
        if n&gt;20:
            print n, "ist zu groÃ"
            break
        print "%d : %7d" % (i,2**i)
        i=i+1
    else:
        print n+1, "Zweierpotenzen berechnet."
    return

 whileexample()
</code></pre>

<p>Your final piece of code:  whileexample()
You added a redundant space in this first column.</p>

python printing compiler-errors return