Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Restricted Sum by plutasnyy
def f(data,i):
if i==0:
return data[i]
return f(data,i-1)+data[i]
def checkio(data):
i=len(data)-1
return f(data,i)
Oct. 18, 2016