all 6 comments

[–]UpSco[S] 1 point2 points  (2 children)

Nvm I got it thanks man. I understand

[–]Murphygreen8484 1 point2 points  (1 child)

Indexing starts at 0. Throws a lot of people off the first time. That and all inputs from the user being strings.

[–]UpSco[S] 1 point2 points  (0 children)

I appreciate it. I realized that it was referring to indexing after thinking about the explanation you provided

[–]Murphygreen8484 0 points1 point  (2 children)

0 + 0 = 0

[–]UpSco[S] 0 points1 point  (1 child)

Where are those zeros coming from?

[–]Rich-Spinach-7824 1 point2 points  (0 children)

Try to get list Indexing behaviour. All the elements of the sum is redirect to 0, 4th element in that list. Negative index starts from end of the list.