結果 : python only allow certain characters in string