結果 : how to check for a certain character in string python