First solution in Clear category for Restricted Sum by yagoulas
def checkio(data): return 0 if not data else data.pop() + checkio(data)
June 1, 2014