Codes to names

codes maps item names to product codes, and no two items share a code. Write by_code(codes) that returns the reverse mapping, from code to name.

by_code({"bread": "BRD-001", "milk": "MLK-010"})  ->  {"BRD-001": "bread", "MLK-010": "milk"}
def by_code(codes):
    ...