I am stuck on 13/18


#1

n = [3, 5, 7]

Don't forget to return your new list!

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

double_list([0, 1]) returned None. Did you remember to return the result?
really have no ideal,thank alot


#2

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)      # [6, 10, 14]