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 wbl4126
def flat_list(array):
return [
element
for item in array
for element in (flat_list(item) if hasattr(item, "__iter__") else [item])
]
March 6, 2020
Comments: