Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First1 solution in Clear category for Restricted Sum by Krzysztof__wierblewski
def checkio(data):
def addition(length, tab, increment, result):
if length == 0:
return result
else:#sdfscwe
result = result + tab[increment]
result = addition(length-1, tab, increment+1, result)
return result
dlugosc = len(data)
wynik = addition(dlugosc, data, 0, 0)
return wynik
Jan. 30, 2017