Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
One line - Shorter version solution in Creative category for Even the Last by tvardero
def checkio(array):
return sum(array[0::2])*array[-1] if len(array) > 0 else 0
Dec. 5, 2019