Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Flatten a List by TovarischZhukov
def flat_list(array):
r=[]
for e in array:
r+=flat_list(e)if type(e)==list else[e]
return r
Dec. 10, 2015