s = [1]while True: yield s[:] s.append(0) l = s[:] for i in range(len(s)): l[i] = s[i] + s[i-1] s = l[:]
Sign in to make a reply
NicoUliter