1-liner recursive solution in Clear category for Restricted Sum by Merzix
checkio = lambda x: x.pop() + checkio(x) if x else 0
Oct. 15, 2018