Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Recursion go BRRRRRRRRRRRRRR solution in Creative category for Restricted Sum by viktor.chyrkin
def checkio(data, a=0, b=-1):
if b + 1 < len(data):
return checkio(data, a + data[b], b + 1)
return a
print(checkio([1, 2, 3]))
July 16, 2022
Comments: