row=[1]
yield row
while True:
b=[]
for i in range(len(row)-1):
b=b+[row[i]+row[i+1]]
row=[1]+b+[1]
Sign in to make a reply
RaidriarF
row=[1]
yield row
while True:
b=[]
for i in range(len(row)-1):
b=b+[row[i]+row[i+1]]
row=[1]+b+[1]
yield row