結果 : function with string input python