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 martin.pilka
def checkio(array):
return sum(array[i] for i in range(0, len(array), 2)) * array[-1] if array else 0
Jan. 6, 2019