結果 : how to check each word in a string python