18/18


#1

It continuos to say oops....Can someone help me?

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

Add your function here

def flatten(lists):
results = []
for numbers in lists:
lists.append(9)
return (numbers) + n[1]

print flatten(n)


#2

Hi. Here's my one. It passed. Having to use the second for statement confused me for a while too. It wasn't well explained. Cheers.

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

def flatten(lists):
(1 indent) results = []
(1 indent) for numbers in lists:
(2 indents) for item in numbers:
(3 indents) results.append(item)
(1 indent)return results
print flatten(n)