Here is the link to the problem: https://www.codecademy.com/paths/computer-science/tracks/cspath-flow-data-iteration/modules/dspath-lists/lessons/python-functions-lists-cc/exercises/middle-item

Hey everyone,

I was absolutely dumbfounded by this problem. Other than initializing the function in the beginning, I had no idea how to proceed and revealing the solution doesn’t help me because I need to know how each step was worked out.

- Why is a “%” used in line 3 instead of a “/” and why is it set equal to 0?
- Why do I have to add sum = lst[int(len(lst)/2)] + lst[int(len(lst)/2) - 1] *? What is the difference between the two?
- Why is the return set the way it is?

I apologize for it but, I think I may need nothing short of a walkthrough with this problem. Thank you.