Write a function called
calcShipping that calculates and returns the shipping charge for an order. The value you return should be a floating point number. Your function should take just one parameter that represents the number of items in an order. There are three rules for calculating shipping charges and these will be implemented in three parts.
To complete part 1 edit your
calcShipping function so that the first item cost $12.99 to ship.
To complete part 2 edit your
calcShipping function so that the 2nd through 9th items costs $5.99 each to ship.
To complete part 3 edit your
calcShipping function so that the 10th item and beyond cost $3.99 each to ship.
I have provided you with a
main function located in
Main.py that you can use to test your program. You can download
Please submit your
Shipping.py file for grading when you are done.