Question: Write a python program to display a receipt of ordered foods by a customer at a restaurant. The receipt should contain customer name, appetizer
Write a python program to display a receipt of ordered foods by a customer at a restaurant. The receipt should contain customer name, appetizer and its price, main meal and its price, dessert and its price and total price. Your program should have 4 global lists (appetizer, main meal, dessert, order) and the first three lists contain 5 foods with their prices. (add any food with any price that you like) (Hint: nested list) Define 3 functions for appetizer, main meal and dessert. Each function should show the list of corresponding foods with their prices and the user should be able to add the desired food to "order" list.
Step by Step Solution
There are 3 Steps involved in it
Global lists appetizers salad 60soup 499bruschetta899 spring rolls 698stuffed mushrooms 90 mainmeals ... View full answer
Get step-by-step solutions from verified subject matter experts
