Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
2-liner: reduce solution in Creative category for Beat The Previous by przemyslaw.daniel
cmb = lambda a, b: (a[0]+[int(a[1]+b)], "") if not a[0] or a[0][-1] < int(a[1]+b) else (a[0], a[1]+b)
beat_previous = lambda d: __import__("functools").reduce(cmb, d, [[], ""])[0]
Aug. 11, 2023
Comments: