結果 : check number of digits python