Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Flatten a List - greatly improved solution in Speedy category for Flatten a List by ddavidse
def flat_list(array):
return [int(i) for i in str(array).replace('[','').replace(']','').split(", ") if i]
Jan. 2, 2021