結果 : check characters in string python