Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sum/slice solution in Clear category for Even the Last by KirillovaV
def checkio(array: list) -> int:
result = sum([num for num in array[::2]]) * array[-1] if array else 0
return result
Jan. 8, 2021
Comments: