Honey Comb is a producer of organic honey in the province of Quebec. They can sell...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Honey Comb is a producer of organic honey in the province of Quebec. They can sell to retailers and consumers. They sell their product in three different sizes: Spyder Editor Small (250 ml jars) for $14.99 Medium (500 ml jars) for $27.99 Large (750 ml) for $39.99 They can deliver by: • Land (depending on where to, it can take from 5-7 business days to 3-4 weeks; this costs $15.00 plus 25¢ per jar) • Air (depending on where to, it can take 2 to 3 business days, this costs $30.00 plus $1.00 per jar) • Next Day delivery (this is an overnight delivery if orders are received before 4:00 PM; it costs $48.00 plus $1.50 per jar) Since the store is in Quebec, sales include a 5% GST plus a 9.975% QST. Please create a Store.py file that includes a main() function that runs the store with these requirements: A comment with your personal information: 11 11 11 Author: Alex Ramirez CUID: 100121212 BUSI2401 Section C Additionally, it must use these variables: Product = {'Small': 14.99, 'Medium': 27.99, 'Large': 39.99} Delivery = {'Land': [15.00, 0.25], 'Air': [30.00, 1.00], 'NextDay': [48.00, 1.50]} GST = 0.05 QST = 0.09975 Use an endless loop to process an order. The order must include how many jars of each size are ordered, the delivery method, the subtotal, shipping and handling costs, GST, QST, and Total. Users are prompted for the number of jars in each size and if they don't enter an integer, they are informed and asked again. Use the checkinput() function to verify the input is an integer, and continue to ask the user until an integer is entered: def checkInput (prompt): The prompt changes since there are jars of three sizes! How many Small jars do you want? ten You did not enter an integer How many Small jars do you want? 15 How many Medium jars do you want? 10 How many Large jars do you want? 5 Then they are asked about delivery method: We can deliver by: Land, Air, or NextDay Do you want your by Land? Y/N N Do you want it by Air? Y/N N By Next Day then! Once the order has all the information needed, an invoice is printed using a printInvoice() function: def printInvoice (Order): This is your order information You ordered: **** 15 Small jars. **** 10 Medium jars. **** 5 Large jars. It will be delivered by NextDay Subtotal: $704.70 Shipping & Handling: $93.00 GST: $39.89 QST: $79.57 ORDER TOTAL: $917.16 After each order is processed the program should ask: Are there more orders? Y/N If you enter Y, it should go back and process a new order, end otherwise. Honey Comb is a producer of organic honey in the province of Quebec. They can sell to retailers and consumers. They sell their product in three different sizes: Spyder Editor Small (250 ml jars) for $14.99 Medium (500 ml jars) for $27.99 Large (750 ml) for $39.99 They can deliver by: • Land (depending on where to, it can take from 5-7 business days to 3-4 weeks; this costs $15.00 plus 25¢ per jar) • Air (depending on where to, it can take 2 to 3 business days, this costs $30.00 plus $1.00 per jar) • Next Day delivery (this is an overnight delivery if orders are received before 4:00 PM; it costs $48.00 plus $1.50 per jar) Since the store is in Quebec, sales include a 5% GST plus a 9.975% QST. Please create a Store.py file that includes a main() function that runs the store with these requirements: A comment with your personal information: 11 11 11 Author: Alex Ramirez CUID: 100121212 BUSI2401 Section C Additionally, it must use these variables: Product = {'Small': 14.99, 'Medium': 27.99, 'Large': 39.99} Delivery = {'Land': [15.00, 0.25], 'Air': [30.00, 1.00], 'NextDay': [48.00, 1.50]} GST = 0.05 QST = 0.09975 Use an endless loop to process an order. The order must include how many jars of each size are ordered, the delivery method, the subtotal, shipping and handling costs, GST, QST, and Total. Users are prompted for the number of jars in each size and if they don't enter an integer, they are informed and asked again. Use the checkinput() function to verify the input is an integer, and continue to ask the user until an integer is entered: def checkInput (prompt): The prompt changes since there are jars of three sizes! How many Small jars do you want? ten You did not enter an integer How many Small jars do you want? 15 How many Medium jars do you want? 10 How many Large jars do you want? 5 Then they are asked about delivery method: We can deliver by: Land, Air, or NextDay Do you want your by Land? Y/N N Do you want it by Air? Y/N N By Next Day then! Once the order has all the information needed, an invoice is printed using a printInvoice() function: def printInvoice (Order): This is your order information You ordered: **** 15 Small jars. **** 10 Medium jars. **** 5 Large jars. It will be delivered by NextDay Subtotal: $704.70 Shipping & Handling: $93.00 GST: $39.89 QST: $79.57 ORDER TOTAL: $917.16 After each order is processed the program should ask: Are there more orders? Y/N If you enter Y, it should go back and process a new order, end otherwise.
Expert Answer:
Answer rating: 100% (QA)
Here is the Python code for the Honey Comb store PYTHON Spyder Editor Author Alex Ramirez CUID 100121212 BUSI2401 Section C Product Small 1499 Medium ... View the full answer
Related Book For
Smith and Roberson Business Law
ISBN: 978-0538473637
15th Edition
Authors: Richard A. Mann, Barry S. Roberts
Posted Date:
Students also viewed these programming questions
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Good Grains is a producer of breakfast cereals. There are 2.8 billion boxes of breakfast cereal sold each year in the United States at an average retail price of $3 per box. The company is trying to...
-
Preparing and interpreting a statement of cash flows using a T-account work sheet. Financial statement data for Dickerson Manufacturing Company for the current year appear in Exhibit 5.29. Additional...
-
Identify the following reactions as additions, eliminations, substitutions, orrearrangements: (a) CH3CH2Br + NACN CH3CH2CN (+ NaBr) (b) Acid (+ H20) OH cataiyst (c) Heat NO2 "O. (d) Light (+ HNO2)...
-
Queens Lines operates a fleet of tanker ships to transport crude oil world wide. One scheduling problem concerns the movement of oil from Middle East ports to four European ports in England, France,...
-
Two soccer players kick two identical balls at the same time. Player 1 sends his ball at an impressive \(90 \mathrm{~km} / \mathrm{hr}\) at an angle of \(30^{\circ}\) above the horizontal. Player 2...
-
The financial statements of Marks and Spencer plc (M&S) are available at the books companion website or can be accessed at corporate.marksandspencer....
-
What two different types of firmware may be used on motherboards? a. POST b. UEFI c. CMOS d. BIOS
-
Paper Company acquired 100 percent of Scissor Company's outstanding common stock for $370,000 on January 1, 2008, when the book value of Scissor's net assets was equal to $370,000, including...
-
J. Murphy operates two restaurants one in Greenville and one in Cleveland. He operates under the name of Murphys Healthy Fast Foods. Below is an income statement formatted in the traditional format....
-
True Or False Professionals have a fiduciary relationship with their clients if they have given them informed consent.
-
True Or False Structured settlements are severely restricted in how they can be structured.
-
An inmate may file a _______ action against the state government, the correctional institute, and the employees.
-
True Or False If a plaintiff protests against assuming a risk but ultimately agrees to assume it, their consent will be considered voluntary.
-
True Or False In those states that have adopted a contributorynegligence system, the defendant is required to prove and specifically plead contributory negligence in order to use it as a defense.
-
The height and weight of baseball players are in table # 10.1.9 ("MLB heightsweights," 2013). Create a scatter plot and find a regression equation between height and weight of baseball players. Then...
-
The company manufactures three products: wooden chairs, tables and dressers. AFC started off as a 'Mom & Pop' shop but has grown rapidly. AFC uses one assembly line to build all three products,...
-
The International Association of Machinists (the union) was the bargaining agent for the employees of Powder Power Tool Corporation. On August 24, the union and the corporation executed a collective...
-
A Panamanian corporation lends money to a Turkish enterprise, which issues a promissory note. The loan contract specifies that payment on the interest and principal shall be made to the Chemical Bank...
-
Edmund Jezemski, estranged and living apart from his wife, Paula, was administrator and sole heir-at-law of his deceased mothers estate, one asset of which was real estate in Philadelphia. Without...
-
Two samples of ideal gas, sample 1 and sample 2, have the same thermal energy. Sample l has twice as many atoms as sample 2. What can we say about the temperatures of the two samples? A. T>T B. T = T...
-
Which of the following changes (there may be more than one) would increase the maximum theoretical efficiency of a heat engine? A. Increase T H B. Increase T c C. Decrease T H D. Decrease T c
-
Which of the following processes does not involve a change in entropy? A. An electric heater raises the temperature of a cup of water by 20C. B. A ball rolls up a ramp, decreasing in speed as it...
Study smarter with the SolutionInn App