Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Even the Last by timiway
def checkio(array):
return 0 if array == [] else sum(array[::2])*array[-1]
#These "asserts" using only for self-checking and not necessary for auto-testing
May 13, 2014