結果 : python program to check that a string contains only a certain set of characters