Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 2 Lnai 6322

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

364215882X, 978-3642158827

More Books

Students also viewed these Databases questions