Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
One-liner solution in Creative category for The Longest Palindromic by suic
longest_palindromic = lambda inp: "".join(next(t for n in range(len(inp), 0, -1) for t in zip(*(__import__("itertools").islice(inp, i, None) for i in range(n))) if t == t[::-1]))
March 1, 2016