Level exam: the weekly order summary
Your task Ticket PY-110, priority high, for the operations lead. Write a function weekly_summary(orders) where each order is a dict with customer, product and qty. Give back a dict with three keys: "per_customer" (each customer's total qty), "top_customer" (the customer with the biggest total; A to Z first if tied) and "products" (every product ordered, once each, sorted A to Z). In the code box, write the function, then press Run my code.
Getting the editor ready
