What am i doing wrong? 17/18


#1

def join_list(x, y):
result = x + y
for i in join_list(len(x, y)
return result[i]
print result[i]


#2

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

def join_lists(x, y):
 return x + y


print join_lists(m, n)

#3

thank you!!! it worked great! I was confused


#4

I found another nice way to do this on stackoverflow:

from compiler.ast import flatten
flatten(n)
print flatten(n)

I couldn't get it to work with append like the instructions wanted. xD


#5

this is what i did

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

def join_lists(x, y):
return x + y

print join_lists(m, n)

you need a space before return x + y or i wont work