• Why not work for checkio ([])

 

def checkio(array): """ sums even-indexes elements and multiply at the last """ n=0 a=[] while n <= len(array)-1: v = array[n] a.append(v) n=n+2 return sum(a)*array[len(array)-1]