結果 : how to check if a string can be an integer python