Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Using sum() solution in Clear category for Flatten a List by WreakHavoc
def flat_list(array):
return sum(([e] if isinstance(e, int) else flat_list(e)
for e in array), [])
Jan. 10, 2020