Python 代码也不怕复制粘贴了!

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

# fib.py
def fib(n):
    a, b = 0, 1
    while a < n:
        print(a, end=' ')
        a, b = b, a+b
    #:
    print()
#:
fib(1000)