結果 : how to check for words in a string python