I’m having issues with Sal’s Shipping where I’ve entered the price per weight and my weight and it rounds off the total cost.
Question 7:
A package that weighs 1.5 pounds should cost $6.75 to ship by drone:
1.5 lb×$4.50+$0.00=$6.75
I get $6.0
Why is it rounding off?
My code:
weight = 1.5
if weight <= 2:
cost_ground = weight + 4.50