Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Solution for "Flatten a List" with 137 chars solution in Creative category for Flatten a List by Mariusz_Lesniak
def flat_list(a):
o = []
for x in str(a).replace("[", "").replace("]", "").split(", "):
if x != '': o=o+[int(x)]
return o
June 17, 2022