Why is this not the right answer?
I get this error: Oops, try again. double_list([0, 1]) returned 2 instead of [0, 2]
And in console i get: [6, 10, 14], which is correct.
Thanks for your help in advance.
n = [3, 5, 7] def double_list(x): for i in range(0, len(x)): x[i] *= 2 return x[i] double_list(n) print n