結果 : iterate through digits python