Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Honey Comb is a producer of organic honey in the province of Quebec. They can sell to retailers and consumers. They sell their product

 

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.

Step by Step Solution

3.38 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

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 ... 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_2

Step: 3

blur-text-image_3

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

Smith and Roberson Business Law

Authors: Richard A. Mann, Barry S. Roberts

15th Edition

1285141903, 1285141903, 9781285141909, 978-0538473637

More Books

Students also viewed these Programming questions