L=[1] n=0 while n<10: yield L L=[1]+[L[i]+L[i+1] for i in range(n)]+[1] n=n+1
Sign in to make a reply
bai渡者