擅长:python、mysql、java
<p>默认情况下,函数有一个隐含的<code>return None</code>作为结尾。在</p>
<p>空的<a href="http://docs.python.org/reference/simple_stmts.html#the-return-statement" rel="nofollow">return-statement</a>也返回<code>None</code>。在</p>
<p>所以,您只需要将return语句添加到函数中。其他的,剩下的看起来没问题。祝你好运:-)</p>