結果 : check if string is valid int python