Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1 line solution in Clear category for Long Repeat by thealfest1
def long_repeat(line):
return max(count for l in line for count in range(len(line) + 1) if l * count in line) if line else 0
Jan. 11, 2019