L = [1] while True: yield L OLO = [0] + L + [0] L = [OLO[i] + OLO[i + 1] for i in range(len(OLO) - 1)]
Sign in to make a reply
Naive,Silence.