Can’t I just use
remove()? Why is that not a good solution?
From: FAQ: Code Challenge: Lists - Remove Middle
To start: documentation on remove:
list.remove(x) - Remove the first item from the list whose value is x . It is an error if there is no such item."
remove() is based around removing an item based on its value, which is great if you have the value but a bad choice if you do not have the value. In this exercise you want to be making use of the information provided in your function, that is the index value, to solve it.