結果 : how to check for a string python