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 Johny9700
def flat_list(a):
n=[]
def b(a):
for i in a:
n.append(i)if type(i)==int else b(i)
b(a)
return n
Nov. 24, 2016