生成斐波那契数列
def fibo(num): numlist = [0,1] for i in range(num-2): numlist.append(numlist[-2] + numlist[-1]) print(numlist) return numlist
生成斐波那契数列
def fibo(num): numlist = [0,1] for i in range(num-2): numlist.append(numlist[-2] + numlist[-1]) print(numlist) return numlist