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 pakhomovegor
def flat_list(a):
r=[]
try:
for i in a:r+=flat_list(i)
except:r+=[a]
return r
July 4, 2021