Excercise 3.3

Lists and Functions : 13. Modifying each element in a list in a function

Why does the indent at "return" in example A return the intended result where as example B returns something else. How does the indent of return change the result?

```
#Example A
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)
#Example B
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)
```