結果 : sum of digits in python using for loop