Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Imagine that you are helping to build a store management system for your own restaurant. Given the following lists, write a program that asks the
Imagine that you are helping to build a store management system for your own restaurant. Given the following lists, write a program that asks the user for a product name. Next, find out if the restaurant sells that item and report the status to the user. Allow the user to continually inquire about product names until they choose to quit the program. Here are some lists to get you started. This is just an example_you should change the kind of food for your restaurant. \# product lists product_nanes =[ "hanburger", "cheeseburger", "sanal1 fries"] product_costs =[0,99,1,29,1.49] And here's a sample running of your program: (s) earch for product or (q)uit: 8 Enter a product nane: hemburger Ne sell "hanburger" at 0.99 per unit (s) earch for product or (q) uit: s Enter a product nane: salad Sorry, we don't sell "salad" (s) earch for product or (q) uit: Python Invalid option, try again (s) earch for product or (q) uit: q See you soon
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started