結果 : how to make sure an input is a string in python