Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Restricted Sum by johan4622
total = 0
def add(x):
global total
total += x
return total
def checkio(data):
global total
result = list(map(add,data))[-1]
total = 0
return result
Nov. 19, 2018