結果 : reduce function in python with example