Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Restricted Sum by edutilos
def checkio(data):
if len(data) > 0:
return data.pop() + checkio(data)
else:
return 0
Sept. 21, 2015