結果 : loop through digits in number python