def triangles(): L = [1] while True: yield L x = [0] + L + [0] print('x:', x) L = [x[i] + x[i + 1] for i in range(len(L) + 1)]
Sign in to make a reply
煎饼果子