I don't find , what is problem?


#1



**Using two lists as two arguments in a function**

## My code

m = [1, 2, 3]
n = [4, 5, 6]

# Add your code here!
def join_lists(x,y) :
    for i in y :
        x.append(i)
    print x

print join_lists(m, n)
# You want this to print [1, 2, 3, 4, 5, 6]

Please tell me, what is the problem in my coad?

After run code tells me " > Oops, try again. join_lists([1, 2], [3, 4]) returned None, did you remember to return the result? " .

:cry::cry::cry:



#2

return and print are not the same.
You're not returning anything.


#3

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