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