Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Foldl solution in Creative category for Flatten a List by ale1ster
flat_list = f = lambda l: __import__('functools').reduce(
lambda a,e: a + (f(e) if type(e) == list else [e]),
l, [])
May 30, 2014