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 erewhon
def checkio(array):
if len(array)==0:
return 0
sum=0
for i in array[0::2]:
sum+=i
return(sum*array[-1])
Oct. 9, 2019