A shop's till stores each order with a customer number. The names are in a separate customer list. A few orders come from numbers that aren't in the list yet, and the money from those orders still counts.
Task: write spend_by_customer(orders, customers).
orders is a dictionary of two lists, "customer_id" and "amount", with one entry per order. There is at least one order.customers is a dictionary of two lists, "customer_id" and "name". Each customer number appears once, and every name is different.customers goes under the name "Unknown". If there are no such orders, there is no "Unknown" key.Once your code passes every test, a reference solution shows up here so you can compare it with yours.