Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Flatten a List by cwahbong
def flat_list(array):
return sum((flat_list(i) if type(i) == list else [i] for i in array), [])
July 4, 2014