Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Clear solution in Clear category for Even the Last by Sebastian.M
def checkio(array):
if len(array)==0:
return 0
sum=0
for x in range(len(array)):
if x%2==0:
sum+=array[x]
return sum*array[-1]
Nov. 4, 2016