結果 : function used to take input in python