Exercise - Create a customer order
In this exercise, you build a coffee shop order tracker that uses a dictionary to store menu items and prices, a list to track a customer's order, and loops to print a formatted receipt.
Launch the exercise and follow the instructions.
Extend with GitHub Copilot
After completing the exercise, try extending it with GitHub Copilot:
- Ask Copilot to group duplicate items on the receipt so each menu item appears once with a quantity.
- Ask Copilot to calculate a 10% tax and add a tax line to the receipt above the total.
- Ask Copilot to add an "undo" option that removes the customer's most recently added item.
Review each suggestion carefully before accepting it—make sure you understand what the code does and that it behaves the way you expect.