Question: Calculate Shipping Cost: ( 2 5 points ) o Use multiple if , elif, and else statements to calculate the shipping cost based on the

Calculate Shipping Cost: (25 points) o Use multiple if, elif, and else statements to calculate the shipping cost based on the following rules: For Zone 1: $1.5 per pound.
For Zone 2: $2.0 per pound.
For Zone 3: $2.5 per pound.
Display an error message if the package weight is negative. Display an error message if the zone is not 1,2, or 3.

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!