python 斐波那契數列

題目描述 你們都知道斐波那契數列,如今要求輸入一個整數n,請你輸出斐波那契數列的第n項(從0開始,第0項爲0)。app n<=39code   # -*- coding:utf-8 -*- class Solution:     def Fibonacci(self, n):         # write code here                  x=[0,1]         fo
相關文章
相關標籤/搜索