Hi all,

I am working through the above code challenge. and I feel like I’ve satisfied the requirements.

This code passes through and returns the results I want (although the 3 and 8 are in those pesky brackets and I don’t know how to change that). I thought I accounted for the valid index question with the “if” statement, because when I put a 5 in the index, it just returns the original list. But when I click “check answer,” it asks me to make sure I tell it what to do when the index is too big. I’ve pasted my code below with both a valid and an invalid index.

Thanks for your help!

```
def double_index(lst, index):
if index > len(lst):
return lst
else:
pass
new_index = lst[index]*2
new_list = [lst[:2], new_index, lst[-1]]
return new_list
print(double_index([3, 8, -10, 12], 2))
```

```
Output
[[3, 8], -20, 12]
```

```
def double_index(lst, index):
if index > len(lst):
return lst
else:
pass
new_index = lst[index]*2
new_list = [lst[:2], new_index, lst[-1]]
return new_list
print(double_index([3, 8, -10, 12], 5))
```

```
Output
[3, 8, -10, 12]
```