• why this is not correct?

Question related to mission Even the Last

 

hi why this code is giving me : IndexError: list index out of range checkio, 12 sum=0 mul=1 li=[] li=array[::2] for i in range(len(li)): sum+=li[i] mul=sum*array[-1] return mul