結果 : check if string has only digits python