Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Recursively solution in Clear category for Restricted Sum by Pavellver
def checkio(data):
if len(data) == 1:
return data[0]
data[0] += data[-1]
del data[-1]
return checkio(data)
March 11, 2023
Comments: