Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Shipping Calculator – Python Project

This is a Python program built during my learning process to practice conditionals, user input, and basic arithmetic.
The program calculates the cheapest shipping method based on the weight of a package, using Sal’s Shippers pricing system.


What does the program do?

  • Asks the user to input the weight of the package (in pounds)
  • Calculates the total cost using three shipping methods:
    • Ground Shipping
    • Ground Shipping Premium
    • Drone Shipping
  • Compares the costs and tells the user the cheapest option and its total price

Shipping rates used

Ground Shipping

Weight Range Rate per Pound Flat Charge
2 lb or less $1.50 $20.00
Over 2 lb to 6 lb $3.00 $20.00
Over 6 lb to 10 lb $4.00 $20.00
Over 10 lb $4.75 $20.00

Ground Shipping Premium

  • Flat charge: $125.00
  • No additional weight cost

Drone Shipping

Weight Range Rate per Pound Flat Charge
2 lb or less $4.50 $0.00
Over 2 lb to 6 lb $9.00 $0.00
Over 6 lb to 10 lb $12.00 $0.00
Over 10 lb $14.25 $0.00

Status

Completed
Part of my beginner Python training projects

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages