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