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 viktor.pecheniuk
def flat_list(array):
#Memento 140!
return sum( ([x] if not isinstance(x, list) else flat_list(x) for x in array), [] )
Dec. 1, 2014
Comments: