Question: solve in simple python A shipping company is managing shipments of packages. The company receives orders with following information: number of packages (##)-size of packages

solve in simple python
A shipping company is managing shipments of packages. The company receives orders with following information: number of packages (##)-size of packages (SS)-weight of packages (WW) The standard form of the order is: ##-SS-WW Number of packages can be from 1 to 99. There are three sizes of packages available: small (SM), medium (MD), large (LG). Weight of packages is provided in pounds, weight of a package is an integer from 1 to 99. Example: The order "07-LG-14" means: 7 LARGE packages, each of weight 141b should be shipped. The company calculates a cost of each order. The cost of shipments is provided in the following table: Weight of package max 10lb: flat shipping rate Weight of package more than 10lb: shipping rate per lb Size of package SMALL (SM) $9 $1.10 MEDIUM (MD) $12 $1.25 LARGE (LG) $15 $1.60 Examples: The shipping cost of the order "07-LG-14" would be 7 packages *141b * $1.60 = $156.80 The shipping cost of the order "05-MD-08" would be 5 packages * $12(flat rate) = $60.00 The shipping cost of the order "11-SM-21" would be 11 packages *211b * $1.10 = $254.10 The shipping company also keeps daily records about number of packages of each size to be shipped, and the total revenue (sum of all shipment charges) for all shipments. Write a program which prompts a user to enter the number of orders during a day, and then to enter each order in the standard order form. . The program displays: For each order the shipping cost: The total number of small, medium, and large boxes to ship during the day: The sum of shipping costs charged for the day. NOTE: You can expect that the user enters only valid orders
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
