Next highest int from digits: Difference between revisions
m
→Python: Generator
m (→{{header|Haskell}}: (a where in lieu of two lets)) |
|||
Line 472:
def go(xs):
ys, zs = tee(xs)
harvest = take(
return (
repr(len(harvest)) + ' of ' + repr(len(list(zs))) + ': '
|