python学习——斐波那契数列的计算 F(0)=0,F(1)=1,F(n)=F(n-2)+F(n-1),其中n>=2 #斐波那契.py a,b=1,1 while a<1000: #输出不大于1000的序列 print(a,end=',') a,b=b,a+b