>>> x=575124357 >>> reduce(lambda x, y: x+y, [int(s) for s in str(x)], 0) 39 >>> sum([int(s) for s in str(x)]) 39 >>>
Comment