• I don't understand why error occours

Question related to mission Even the Last


my code: def checkio(array: list) -> int:

    if len(array) == 0:
        return 0
    numeri =[x for x in array if array.index(x)%2 == 0]
    risultato2 = 0
    for x in numeri:
        risultato2 += x
    a = array[-1]
    risultato = a * risultato2
    return risultato

I have error on test 11.

Your result:-1476


Right result:1968


I try manually with the calculator and the numbers are rights, but it seems that program makes an error. Someone can explain me why?