Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Using generic recursion solution in Clear category for Restricted Sum by pawel1337
def checkio(data):
def s(l, t):
if len(l) == 0:
return t
t = t + l.pop()
return s(l, t)
return s(data, 0)
Nov. 3, 2016