結果 : sum of digits in python using while loop