結果 : check if characters in string python