Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Recursion solution in Clear category for Restricted Sum by jeschlegel84
def checkio(data):
''' basic recursion method '''
if len(data) == 1:
return data [0]
else: return data[0] + checkio(data[1:])
Oct. 3, 2017