Question: 2) Write a python program to display a receipt of ordered foods by a customer at a restaurant. The receipt should contain customer name, appetizer

 2) Write a python program to display a receipt of ordered

2) 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!