結果 : how to print sum of digits in python using while loop