Ok, so here is the deal: I am struggling greatly with the code challenge for lists. I have gone back and redone the entire material for lists three times, and I still do not completely understand the first challenge for lists. I don’t believe that the material that has been taught gives us sufficient knowledge to answer the code challenge successfully. I have posted previously on the first challenge, which is titled double index. Am I missing something? Was the information for this question (and the next one, by the way) taught in the lists training? If so, can you show me exactly where so I can learn the material properly? I am at total confusion and am feeling lost and hopeless. I will paste first problem below.
Create a function named
double_index that has two parameters named
The function should double the value of the element at
lst and return the new list with the doubled value.
index is not a valid index, the function should return the original list.
After writing your function, un-comment the call to the function that we’ve provided for you to test your results.