結果 : how to check character in a string python