Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
idk solution in Clear category for Flatten a List by fishsouprecipe
def flat_list(a):
ret = []
for i in a:
ret.extend(flat_list(i)) if isinstance(i, list) else ret.append(i)
return ret
March 4, 2020