Discuss / Python / My homework on 2020/1/4:

My homework on 2020/1/4:

Topic source

HellPlay

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

  • 1

Reply