結果 : python check characters in a string