• Not sure what I'm doing wrong

Question related to mission Even the Last

 

I've put in the code below, but keep getting an error, not sure what I'm doing wrong?

def checkio(array): if len(array) < 0: return 0 else: x = 0 for i in array[::2]: return ((x += array[i]) * array[-1])

8