18\18 - stuck!


#1



please help!


Replace this line with your code. 

lists = [[1, 2, 3], [4, 5, 6, 7, 8, 9]]
def flatten(lists):
    results = ""
    for numbers in lists :
        for item in numbers :
            results.append(lists)
    return results
print flatten(lists)


#2

this line:

results = ""

results should be a list, not a string


#3

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