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