• so close

 

My Code:

def checkio(array):
    if 0<=len(array)and 20>=len(array):
        result = 0
        for loop in range(len(array)):
            if loop%2==0:
                total=result += array[loop]
            **return total**
    else:
        return 0

Why is the wrong?