You don't need to use two for loops. One is enough.
You also forget to return the x. Here is the working code:
n = [3, 5, 7]
for i in range(0, len(x)):
x[i] = x[i] * 2
# Don't forget to return your new list!