Summarize Shop Orders
Write summarize_orders(orders). Each order has quantity and unit_price. Return a dictionary with total_units and revenue; an empty list returns zero for both values.
Examples
[[{"quantity":2,"unit_price":3.5},{"quantity":1,"unit_price":5}]]{"total_units":3,"revenue":12}