subject

Imagine that you are helping to build a store management system for a fast food 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 elect to quit the program. Here are some lists to get you started:
# product lists
product_names = ["hamburger", "cheeseburger", "small 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: s
Enter a product name: hamburger
We sell "hamburger" at 0.99 per unit
(s)earch for product or (q)uit: s
Enter a product name: salad
Sorry, we don't sell "salad"
(s)earch for product or (q)uit: voldemort
Invalid option, try again
(s)earch for product or (q)uit: q

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
What must you do before formatting a paragraph?
Answers: 1
question
Computers and Technology, 22.06.2019 01:00
Duplicating objects creates copies that a. move differently than the original object b. erase the original object c. look and act like the original object d. add events to a game
Answers: 1
question
Computers and Technology, 24.06.2019 04:30
What is the process in which the software development team compiles information to determine the final product
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
Consider the folloeing website url: what does the "http: //" represent? a. protocal identifier. b. ftp. c. domain name d. resource name
Answers: 2
You know the right answer?
Imagine that you are helping to build a store management system for a fast food restaurant. Given th...
Questions
question
Social Studies, 01.09.2019 09:00
question
History, 01.09.2019 09:00
question
Mathematics, 01.09.2019 09:00
Questions on the website: 13722363