結果 : how to only allow string input in python