結果 : reduce function python example