結果 : sum of digits using for loop in python