Question: Write this code in python, espiecally step 5 Imagine you run a small bakery and provide cookies for various events. Recently, you received orders for
Write this code in python, espiecally step
Imagine you run a small bakery and provide cookies for various events. Recently, you received orders for five different events. Note: each requiring cookies of different flavors, prepared separately.
Write code that asks the user the number of cookies needed for each event.
The average cost to produce each cookie is $ and you sell them for $ each. Display the total profit earned from five events. Round the answer to two decimal places.
The recipe you use yields cookies per batch. Ensure you bake enough cookies to fulfill each order. Determine and display the number of batches needed for each event. For example, an order for cookies requires batches cookies While an order for cookies needs batches preparing additional batches as a precaution
Cookies are ready to pack for delivery now! Cookie boxes hold cookies each, and any remaining cookies are packed in individual bags for individual sale. Determine the number of boxes and bags used for cookies ordered in each of the events. For example, an order for cookies would use boxes and bag. Good news! There is no damage during transportation! You can sell the extra cookies in your bakery at a special price of $ each. Calculate the total profit for all five events, including these additional sales. Round the answer to two decimal places.
The output should be exatly like this:
How many cookies for event.
How many cookies for event
How many cookies for event
How many cookies for event
How many cookies for event
The profit is dollars.
Event needs batches in total.
Event needs batches in total.
Event needs batches in total.
Event needs batches in total.
Event needs batches in total.
Event needs boxes and bags.
Event needs boxes and bags.
Event needs boxes and bags.
Event needs boxes and bags.
Event needs boxes and bags.
The total profit is dollars.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
