1-liner: recursive solution in Clear category for Restricted Sum by przemyslaw.daniel
checkio=lambda d:d[0]+checkio(d[1:]) if d else 0
Sept. 11, 2017