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

Add your function here

def flatten(list):
for numbers in range(0,len(list)):
return numbers
for number in numbers:
return results



Hi @bojanapocuca

Please provide a link to the lesson you're having an issue with.

From what I can see, you're referencing the length of a list that doesn't exist. Change list everywhere it appears to n since that's the list you have. In addition, you probably shouldn't have multiple lists inside the n list, unless that's what the lesson asks for.


This is the link.
Thank you!


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