Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Recursion solution in Clear category for Restricted Sum by ZloyAntox
def checkio(x):
if len(x) == 1:
return x[0]
else:
x[0] += x[-1]
x.pop()
return checkio(x)
Dec. 25, 2018