Oops, try again. double_list([0, 1]) resulted in an error: list index out of range
The code should run and it does run the correct way, but it still prints an error message.
n = [3, 5, 7] def double_list(x): for i in range(0, len(n)): x[i] = x[i] * 2 return x # Don't forget to return your new list! print double_list(n)