結果 : how to handle user input in python