結果 : how to check for specific characters in a string python