擅长:python、mysql、java
<p>Python整数可以表示任意长度的值,并且不会自动转换为float。只需创建一个非常大的数字并检查其类型即可进行检查:</p>
<pre><code>>>> type(2**(2**25))
<class 'int'> # long in Python 2.x
</code></pre>
<p>fibott返回<code>f[:n]</code>,这是一个列表。您似乎期望它返回一个术语,所以期望值(第一个注释)或实现必须更改。在</p>