yh = [1] while True: yield(yh) yh = [0] + yh +[0] yh = [yh[i] + yh[i+1] for i in range(len(yh)-1)]
Sign in to make a reply
zhaohanim