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 jcg
def flat_list(array) :
return sum(([x] if isinstance(x,int) else flat_list(x) for x in array), [])
April 25, 2014