Faulhaber's triangle: Difference between revisions

m
→‎{{header|Python}}: Restored clipped first line
m (→‎{{header|Python}}: (Tidied test section))
m (→‎{{header|Python}}: Restored clipped first line)
Line 1,987:
print(
fTable(__doc__ + ':\n')(str)(
compose(concat)(fmap(showRatio(4)(3)))
fmap(showRatio(3)(3))
)
)(
index(fs)
)(range(10, len(fs)))
)
print('')
Line 2,063 ⟶ 2,065:
def showRatio(m):
'''Left and right aligned string
representation of the ratio r.
'''
def go(n, r):
9,655

edits