Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple recursive solution in Clear category for Restricted Sum by caldeius
def checkio(data):
def plus(x):
x += data.pop()
if data:
x = plus(x)
return x
x=0
return plus(x)
Jan. 24, 2020