擅长:python、mysql、java
<p>您没有给print语句留出空间,您可以检查<a href="http://www.secnetix.de/olli/Python/block_indentation.hawk" rel="nofollow">Python: Myths about Indentation</a></p>
<pre><code>for i,v in enumerate (['item0', 'item01', 'item02']):
print (i, ":", v)
</code></pre>