Exercise 7 · Chapter: DictionariesRequired+50 XP
Menu Prices
You have a menu:
menu = {"burger": 5, "fries": 3, "drink": 2}Read the number of items ordered, then read each item name. Print the total price.
Example: if someone orders burger and fries, the total is 8.
Need a hint?
3 available · costs 5 XP each
python
Output
Run your code to see the output here.