Pascal's triangle: Difference between revisions
m
→Functional Python: docstring edit
m (→Functional) |
m (→Functional Python: docstring edit) |
||
Line 4,125:
def nextPascal(xs):
'''A row of Pascal's triangle
derived from
return zipWith(add)([0] + xs)(xs + [0])
|