Question: python programming Question 2 WA milk carton can hold 4.5 Iters of milk. # Each moming, a dairy form ship cartons of #milk to a

python programming
python programming Question 2 WA milk carton can hold 4.5 Iters of
milk. # Each moming, a dairy form ship cartons of #milk to

Question 2 WA milk carton can hold 4.5 Iters of milk. # Each moming, a dairy form ship cartons of #milk to a local grocery store. The cost of # producing one liter of mik is $0.35, and the profit of each carton of milk in $0.26. * Write a program that does the following: a) Prompts the uner to enter the total amount of milk produced in the morning b) Outputs the number of milk cartons needed to hold milk (Round your answer to the nearest integer) c) Outputs the cost of producing milk * Outputs the profit for producing milk Sample input and output How many libres have you collected 1000 Number of cartone: 222 Cost of production: 350.0 #Prolit: 55.5 # The details we know Capacity 0.35 profit per carton wa) ltres produced float How many litres have you collected? MacBook Air Profit: 55.5 # The details we know: capacity 0.35 profit_per_carton #a) How many litres have you collected?" litres produced float(! #b) num_cartons litres produced "Number of cartons: capacity num_cartons 10) - litres produced J'Cost of production: cost per litre str(cost of production) print #d) profit-profit per_carton print("Profit:" + stre Click Submit to complete this assessment

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!