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
相关文章
相关标签/搜索