結果 : sum of digits of a number in python using for loop