Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Restricted Sum by sts10131
def checkio(data):
d=data
if len(d)>1:
return d.pop()+checkio(d)
return data[0]
Dec. 27, 2016