My for loop doesn't seem to be iterating through each item in the list the first item gets doubled, the other two don't:
"Oops, try again. double_list([0, 1]) returned [0, 1] instead of [0, 2]"
I expect all items in the list to get doubled, thank you in advance
n = [3, 5, 7] def double_list(x): for i in range(0, len(x)): x[i] = x[i] * 2 # Don't forget to return your new list! return x print double_list(n)