Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
weird solution in Clear category for Even the Last by magda_kudrycka
def checkio(array):
if len(array) > 0:
return sum(array[0:len(array):2])*array[-1]
else:
return 0
Oct. 20, 2016