# 13/18 What's missing?

#1

As far as I understand this code seems right but it says when it passes through the list [0,1] that it only gets [0,1] instead of [0,2]

What did I miss?

``````    n = [3, 5, 7]

def double_list(x):
for i in range(0, len(x)):
x[i] = x[i] * 2
return x

print double_list(n)``````

#2

Never mind. I figured it out. I had the return indented with the for loop. It should have only had one indent, not two so it was still part of the function but not the for loop.

``````    n = [3, 5, 7]

def double_list(x):
for i in range(0, len(x)):
x[i] = x[i] * 2
return x

print double_list(n)``````

#3

thanks - i'm nervous that i need q&a help on each page of the last couple lessons.... this stuff is confusing, but i want to learn!

#4

hi selfie here, thx for giving me the answer but can u go through this step by step so I can get it.
Thx anyway 4 the answers

``````                                                                    love
selfie xxx``````

#5

I type as what you code,but not work for me