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 alwayswannafly
def checkio(array):
if len(array) == 0:
return 0
return sum(array[::2]) * array[-1]
Nov. 16, 2016