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 Aviumy
def checkio(array):
try:
return sum(array[::2]) * array[-1]
except IndexError:
return 0
July 19, 2020