結果 : check if string represents integer python