Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
sum and slice solution in Clear category for Even the Last by stek29
def checkio(lst):
if len(lst) == 0:
return 0
else:
return sum(lst[::2]) * lst[-1]
Aug. 1, 2016