Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Even the Last by kinmokusei
def checkio(arr: list) -> int:
res = 0
for n in arr[::2]:
res+=n
return res * arr[-1] if arr else 0
Aug. 7, 2020