擅长:python、mysql、java
<p>这是因为您重写了第3行的函数<code>str</code>。在</p>
<p><code>str()</code>是Python中的一个<a href="http://docs.python.org/2/library/functions.html#str">builtin function</a>,它负责返回对象的一个漂亮的字符串表示。在</p>
<p>将第3行改为</p>
<pre><code>str = '0123456789'
</code></pre>
<p>到</p>
^{2}$