Help me


#1

n = [[1, 2, 3], [4, 5, 6, 7, 8, 9]]
# Add your function here

def flatten(lists):
    results = []
    for numbers in lists:
        for item in numbers:
            results.append(item)

            return results 
        

print flatten(n)

its showing Oops, try again. flatten([[1, 2], [3, 4]]) returned [1] instead of [1, 2, 3, 4]


#2

a function ends the moment a return keyword is reached, if the return keyword is reached in a loop, the loop breaks


#3

check the indentation of the code , i have problems with my indentation in for loops and funtions


#4

Thanks for the response


#5