pythonidae-challenge icon indicating copy to clipboard operation
pythonidae-challenge copied to clipboard

Incorrect Solution in readme for algorithm/list/chall-02.md

Open DevinOM opened this issue 2 years ago • 0 comments

According to the readme for this challenge:

Given list of integer

[ 3, 0, 4, 9, 7, 9, 7, 2, 9, 4, 1, 4, 2, 5, 5, 7, 4, 0, 6, 9 ]

the sum of odd-index value is: 40

I believe this sum should be 49?

0 + 9 + 9 + 2 + 4 + 4 + 5 + 7 + 0 + 9 = 49

Maybe I am misunderstanding the problem? I have tried summing the list in different ways but never get 40.

DevinOM avatar Apr 28 '23 12:04 DevinOM