結果 : check if number has repeating digits python