擅长:python、mysql、java
<p>如果您阅读Python2.7文档,有一节介绍斐波纳契数。在这个关于斐波那契数的部分中,任意结尾不是我们都想看到的拉长答案。它缩短了它。在</p>
<p>如果这不能回答您的问题,请参阅:4.6定义函数。在</p>
<p>如果你已经下载了解释器,手册是预装的。如果有必要,你可以上网www.python.org或者您可以查看手册,查看以“任意”短结尾的Fibonacci数,即不是整个数值。在</p>
<p>赛斯</p>
<p>另外,如果您对手册中的这一部分有任何疑问,请参阅Python教程/4。更多控制流工具/4.6定义功能。我希望这能有所帮助。在</p>