Fold a list into one value: reduce

Your task In the code box, write a helper merge(a, b) that gives back a new dict with the units of a and b added up, and a function combine_stock(warehouses) that gives back reduce(merge, warehouses, {}). Then press Run my code.

Getting the editor ready