結果 : check if characters are in string python