Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Comprehension and Expect solution in Clear category for Even the Last by ludek.reif
def checkio(array):
try:
return sum([number for number in array[::2]]) * array[-1]
except IndexError:
return 0
Jan. 31, 2016