Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Even the Last by KrzysztofP
def checkio(array):
suma=0
count=len(array)
if count==0:
return 0
for i in range(count):
if i%2==0:
suma=suma+array[i]
suma=suma*array[i]
return suma
Oct. 15, 2016