#一个斐波那契数列 n=int(input()) l=[1 for _ in range(n)] for i in range(2,n): l[i]=l[i-1]+l[i-2] print(l[n-1])
相关推荐