Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Clear solution in Clear category for Even the Last by PaszaVonPomiot
def checkio(array: list) -> int:
if array:
return sum(array[::2]) * array[-1]
else:
return 0
May 23, 2020