Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Ignalion's twist solution in Clear category for Flatten a List by nickie
def flat_list(l):
r = []
def f(l):
for i in l:
r.append(i) if type(i) is int else f(i)
f(l)
return r
April 24, 2014
Comments: