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