Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Recursion and list comprehension solution in Uncategorized category for Flatten a List by danikmil
def flat_list(b):
h=[];[h.extend(flat_list(a)) if type(a)==list else h.append(a) for a in b];return h
Nov. 27, 2014