結果 : how to separate digits of a number in python using while loop