結果 : python check for parentheses in string