Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
2-liner: max 50 chars solution in Creative category for Long Repeat Inside by przemyslaw.daniel
repeat_inside=lambda s,r=range(50):max([s[i:j]*(k+2)for i in r
for j in r for k in r], key=lambda x:len(x)*bool(s.count(x)))
Aug. 21, 2017