結果 : what is reduce function in python with example