結果 : function used to take user input in python