結果 : check for symbols in string python