結果 : python string contains only certain characters