結果 : python validate user input string