Is it right? It's not running in the console


n = [[1, 2, 3], [4, 5, 6, 7, 8, 9]]

Add your function here

def flatten(lists):
results = []
for numbers in lists:
for items in numbers:
return results

print flatten(n)


What you posted does indeed not run

But I suspect that has more to do with not sharing an intact copy than anything else…


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.