Hello! So I have completed everything in the computer science course up to this point (obviously), and I am having a lot of trouble even getting the first challenge done. I can’t wrap my head around it. I’ve looked at the solution, tried to redo it for myself, and sure I can remember the code, but I don’t understand it really… Can someone point me in the right direction? I’ve done well on every quiz, project etc…
new_lst = lst[0:index] new_lst.append(lst[index]*2) new_lst = new_lst + lst[index+1:] return new_lst
After looking at it all, this is the part of the answer I don’t think I am understanding.
Thank you for all responses and help!