結果 : check for characters in string python