結果 : function used to get user input in python