Discuss / Python / 作业

作业

Topic source
L = [1]
while True:                
    yield L        
    L = [1]+[L[i] + L[i+1] for i in range(len(L)-1)]+[1]

俟筠

#2 Created at ... [Delete] [Delete and Lock User]

牛逼,估计是最短代码实现

厉害

只能说一句牛逼


  • 1

Reply