結果 : how to traverse an integer in python