L1 = [1]
while True:
yield L1
L1 =[1] + [L1[N] + L1[N + 1] for N in range((len(L1))-1)] + [1]
Sign in to make a reply
丶我好烦丶
L1 = [1]
while True:
yield L1
L1 =[1] + [L1[N] + L1[N + 1] for N in range((len(L1))-1)] + [1]