somme avec Python conditionnel

sum(i for i in array if array.index(i) % 2 == 0)
Envious Echidna