Discuss / Python / 打卡 借鉴大佬优秀代码

打卡 借鉴大佬优秀代码

Topic source

°Destiny

#1 Created at ... [Delete] [Delete and Lock User]
    L=[1]
    while True:
        yield L
        L=[1]+[L[n] + L[n+1] for n in range(len(L)-1)]+[1]

  • 1

Reply