結果 : sum of digits program in python using for loop