I need help writing this program in python. It’s fairly simple, but I’m having trouble with my internet so I don’t really have the actual attachment from IDLE, but I only have up to part a. Can you help me write it? I don’t know how to add the list or really anything else. I’m having so much trouble!
PART 3a
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:
= [, , ] = [, , ]
And here’s a sample running of your program:
product (q)uit: sEnter a product name: soft drinkWe sell at per unit(s)earch product (q)uit: sEnter a product name: saladSorry, we don’t sell “salad”(s)earch for product or (q)uit: voldemortInvalid option, try again(s)earch for product or (q)uit: qSee you soon!
Part 3b
Next, extend your program so that it keeps track of how many products the store currently has to sell. Default the store to have 10 soft drinks, 5 onion ringss and 20 small fries. Hint: you might want to create a new list to store this data! – once you have this information in place you should modify your program to do the following:
- Update the search feature to include a report of how many products the store currently has
- Add a new feature that lists ALL products, their prices and the amount the store has available to sell
Here’s a sample running of your program:
(q)uit: sEnter a product name: soft drinkWe sell at per unitWe currently have stock(s)earch, (l)ist (q)uit: lPrice Quantity(s)earch, (l)ist (q)uit: sEnter a product name: pikachuSorry, we don’t sell “pikachu”(s)earch, (l)ist or (q)uit: qSee you soon!
Part 3c
Next, add in an “add” feature that lets users add a new product to the store. When you add a product you will need to ask the user for the name of the product, the cost of the product and how many items the store has available to sell. Validate this data – you cannot add a product that already exists and both the price and inventory amount must be positive. Here’s a sample running of the program:
(q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd (q)uit: aEnter a product name: onion ringsSorry, we already sell that product. Try again.Enter a product name: dbl onion ringsEnter a product cost: Invalid cost. Try again.Enter a product cost: How many these products we have? Invalid quantitiy. Try again.How many these products we have? Product added!(s)earch, (l)ist, (a)dd (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd (q)uit: sEnter a product name: dbl onion ringsWe sell at per unitWe currently have stock(s)earch, (l)ist, (a)dd (q)uit: qSee you soon!
Part 3d
Next, add in a “remove” feature that lets users remove products from the database. Here’s a sample running of the program:
(q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove (q)uit: rEnter a product name: pikachuProduct doesnt remove.(s)earch, (l)ist, (a)dd, (r)emove (q)uit: rEnter a product name: small friesProduct removed!(s)earch, (l)ist, (a)dd, (r)emove (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove (q)uit: rEnter a product name: soft drinkProduct removed!(s)earch, (l)ist, (a)dd, (r)emove (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove (q)uit: qSee you soon!
Part 3e
Add in the ability to modify a product. Users should be able to modify the name, cost or quantity of a product. Note that you will need to perform data validation as needed. Here’s a sample running of your program:
(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate or (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate or (q)uit: uEnter a product name: burgerProduct doesn’t exist. Can’t update.(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: uEnter a product : soft drinkWhat would you ?(n)ame, (c)ost (q)uantity: nEnter a : onion rings !Enter a : soft drink royaleProduct has been (s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: uEnter a product : onion ringsWhat would you ?(n)ame, (c)ost (q)uantity: cEnter a : Invalid !Enter a : Product has been (s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: uEnter a product : small friesWhat would you ?(n)ame, (c)ost (q)uantity: qEnter a quantity: Invalid quantity!Enter a quantity: Product quantity has been (s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: uEnter a product : soft drink royaleWhat would you ?(n)ame, (c)ost (q)uantity: Invalid (s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: qSee you soon!
Part 3f
Finally, add in a reporting feature to your program that finds the highest priced product, the lowest priced product and the total value of all inventory in the store (product cost * product quantity). Here’s a sample running of your program:
(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate, r(e)port or (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate, r(e)port or (q)uit: e1.49 (small fries)0.99 (soft drink)Total value of all products: 46.15(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate, r(e)port or (q)uit: qSee you soon!
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
I Need Help Writing A Persuasive Email To A Professor For Him To Give Me A Lette
/in Uncategorized /by developerI need help writing a persuasive email to a professor for him to give me a letter of recommendation for me for a job I have applied to. To help me understand why you have written it how you have, I have two questions that I would like answered please.
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
I Need Help Writing A Research Question And Choosing Which Spss Test To Run I M
/in Uncategorized /by developerI need help writing a research question and choosing which SPSS test to run. I’m not sure of the difference between relationship research and effect research. Which tests would you run? I would’ve chosen ANOVA for both, but I feel I need a different test based on relationship or effect.
A relationship research question involving gender, GPA, and GRE scores.
An effect research question involving gender, GRE score, and degree completion frequency.
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
I Need Help Writing A Sow Scope Of Work In Which I Am An External Consultant Who
/in Uncategorized /by developerI need help writing a SOW (Scope of Work) in which I am an external consultant who uses the he organizations threats, risks, and vulnerabilities to achieve a holistic view of the risk across the entity. I do not know where to begin or how to write one. I cannot find an example anywhere that would allow me to see what all i would need to write on. The entity that I am focusing on is a government federal contracting agency. Can anyone help me?
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
I Need Help Writing A Thesis Statement For My Paper About How I Became Literate
/in Uncategorized /by developerI need help writing a thesis statement for my paper about how I became literate in playing soccer
HOW TO WRITE A STRONG THESIS STATEMENTA WRITING CENTRE HANDOUT 1. UNDERSTAND THE ACADEMIC WRITING TASK You can begin to formulate a good thesis statement only after you have got a solid graspof…
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
I Need Help Writing An Original Ruby Program Please See Assignment Attached Than
/in Uncategorized /by developerI need help writing an original Ruby Program, please see assignment attached, thank you.
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
I Need Help Writing My Final Paper For American Public University Chfd 350 The P
/in Uncategorized /by developerI need help writing my final paper for American Public University Chfd 350 the paper requirements are as followed: CHFD 350 Research Paper GuidelinesThe following criteria should be met to comply with the research paper assignment:Papers should be 5-7 pages in length not including a cover page, reference page or appendices (not required)Papers should be word processed using a 12 point font, double spaced using page numbersPapers should include a cover page with student name, course name and number and title of paperPapers should use correct APA Format for citations and referencesPapers should include a minimum of 5-7 references from scholarly journals, textbook for this course or US Government publications. Resources should be current; no older than 10 years.Papers should be written in your own words. You may have a maximum of 2 direct quotes no longer than 2 sentences each. You may paraphrase in your paper. Appropriate APA format is required.Below are the expectations for the course content. Much of the background information required for this research paper can be found in Part II of the course textbook.The topic of the paper should be selected from the 10 Family Life Education Content Areas.The content of your paper should demonstrate a comprehensive program design. You will need to provide a description of program format such as target audience, length of entire program, frequency and location of meeting(s), session lengths and topics and other administrative components as desired (i.e. refreshments).The content of your paper should also demonstrate an overview of the program content including a justification of why the topic was selected. It is recommended you break down the larger topic selected from the 10 Family Life Education Content Areas into an appropriate number of smaller subtopics/sessions identified by you as the author. For example if you select Conflict Management within the Category of Internal Dynamics of a Family, what are some subtopic areas that would fall under Conflict Management?The content of your paper should also include how you will deliver this information in the training program. Your paper should include at least 3 different teaching formats. It is not sufficient to indicate you will show a video/film or bring in a guest speaker.The content of your paper should also include how you will address needs of the individuals served. In addition the paper should include content on how you will evaluate the program.This paper should read as a proposal to a company or funding source. The reader should get both a general sense of the FLE program and an idea of the specific implementation of the program.
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
I Need Help Writing This Program In Python It S Fairly Simple But I M Having Tro
/in Uncategorized /by developerI need help writing this program in python. It’s fairly simple, but I’m having trouble with my internet so I don’t really have the actual attachment from IDLE, but I only have up to part a. Can you help me write it? I don’t know how to add the list or really anything else. I’m having so much trouble!
PART 3a
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:
= [, , ] = [, , ]
And here’s a sample running of your program:
product (q)uit: sEnter a product name: soft drinkWe sell at per unit(s)earch product (q)uit: sEnter a product name: saladSorry, we don’t sell “salad”(s)earch for product or (q)uit: voldemortInvalid option, try again(s)earch for product or (q)uit: qSee you soon!
Part 3b
Next, extend your program so that it keeps track of how many products the store currently has to sell. Default the store to have 10 soft drinks, 5 onion ringss and 20 small fries. Hint: you might want to create a new list to store this data! – once you have this information in place you should modify your program to do the following:
Here’s a sample running of your program:
(q)uit: sEnter a product name: soft drinkWe sell at per unitWe currently have stock(s)earch, (l)ist (q)uit: lPrice Quantity(s)earch, (l)ist (q)uit: sEnter a product name: pikachuSorry, we don’t sell “pikachu”(s)earch, (l)ist or (q)uit: qSee you soon!
Part 3c
Next, add in an “add” feature that lets users add a new product to the store. When you add a product you will need to ask the user for the name of the product, the cost of the product and how many items the store has available to sell. Validate this data – you cannot add a product that already exists and both the price and inventory amount must be positive. Here’s a sample running of the program:
(q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd (q)uit: aEnter a product name: onion ringsSorry, we already sell that product. Try again.Enter a product name: dbl onion ringsEnter a product cost: Invalid cost. Try again.Enter a product cost: How many these products we have? Invalid quantitiy. Try again.How many these products we have? Product added!(s)earch, (l)ist, (a)dd (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd (q)uit: sEnter a product name: dbl onion ringsWe sell at per unitWe currently have stock(s)earch, (l)ist, (a)dd (q)uit: qSee you soon!
Part 3d
Next, add in a “remove” feature that lets users remove products from the database. Here’s a sample running of the program:
(q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove (q)uit: rEnter a product name: pikachuProduct doesnt remove.(s)earch, (l)ist, (a)dd, (r)emove (q)uit: rEnter a product name: small friesProduct removed!(s)earch, (l)ist, (a)dd, (r)emove (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove (q)uit: rEnter a product name: soft drinkProduct removed!(s)earch, (l)ist, (a)dd, (r)emove (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove (q)uit: qSee you soon!
Part 3e
Add in the ability to modify a product. Users should be able to modify the name, cost or quantity of a product. Note that you will need to perform data validation as needed. Here’s a sample running of your program:
(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate or (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate or (q)uit: uEnter a product name: burgerProduct doesn’t exist. Can’t update.(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: uEnter a product : soft drinkWhat would you ?(n)ame, (c)ost (q)uantity: nEnter a : onion rings !Enter a : soft drink royaleProduct has been (s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: uEnter a product : onion ringsWhat would you ?(n)ame, (c)ost (q)uantity: cEnter a : Invalid !Enter a : Product has been (s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: uEnter a product : small friesWhat would you ?(n)ame, (c)ost (q)uantity: qEnter a quantity: Invalid quantity!Enter a quantity: Product quantity has been (s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: uEnter a product : soft drink royaleWhat would you ?(n)ame, (c)ost (q)uantity: Invalid (s)earch, (l)ist, (a)dd, (r)emove, (u)pdate (q)uit: qSee you soon!
Part 3f
Finally, add in a reporting feature to your program that finds the highest priced product, the lowest priced product and the total value of all inventory in the store (product cost * product quantity). Here’s a sample running of your program:
(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate, r(e)port or (q)uit: lPrice Quantity(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate, r(e)port or (q)uit: e1.49 (small fries)0.99 (soft drink)Total value of all products: 46.15(s)earch, (l)ist, (a)dd, (r)emove, (u)pdate, r(e)port or (q)uit: qSee you soon!
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
I Need Help Written My Reflective Journal Paper For My 7 Week Clinical Rotation
/in Uncategorized /by developerI need help written my Reflective Journal paper for my 7 week clinical rotation doing bed bath, showers feeding and weighing patients .I also had the opportunity to shadow a patient while doing physical and occupational therapy.
Running head: REFLECTIVE JOURNAL 1 Reflective JournalNameInstitution REFLECTIVE JOURNAL 2Reflective Journal I have to elaborate on two questions that have to answer how my assessment and skills…
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
I Need High Quality Work And Submitted On Time Using A Graphic Organizer Of Your
/in Uncategorized /by developerI NEED HIGH QUALITY WORK AND SUBMITTED ON TIME.
Using a graphic organizer of your choice, create a basic outline for a social studies theme that could be taught over the course of one month or longer.
Choose a topic that includes two or three units that flow in an orderly sequence. Display the unit titles in the graphic organizer with lesson titles, topics, and objectives that are aligned to the standards. Full lesson plans are not required.
Create a rationale statement as well as a student-friendly title for the entire theme.
Include sections on your graphic organizer for culminating activity ideas, field trips, guest speakers, and other resources, including literature.
Design at least two authentic assessments that address your topic; one formative and one summative.
While APA format is not required for this assignment, solid academic writing is expected and in-text citations and references should be presented using APA documentation guidelines
Running head: SOCIAL STUDIES THEME Social Studies ThemeStudent’s NameCourse Title29 June 2016 1 SOCIAL STUDIES THEME 2Social Studies Theme A justification articulation and an understudy…
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
I Need Homework Help Share Whether Or Not You Believe Film Has The Potential To
/in Uncategorized /by developerI need homework help
share whether or not you believe film has the potential to transform one’s political sensibilities. And if you believe that your personal sensibilities have been (re)shaped or transformed by a particular film, say so. The objective here is to share your thoughts pertaining to the major thesis presented in Democracy and Difference
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"