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 m.dziardziel
def checkio(array):
if len(array)==0:
return 0
sum=0
for a in range(0,len(array)):
if int(a%2)==1:
continue
sum=sum+array[a]
return sum*array[len(array)-1]
Oct. 26, 2016