I added a few neat thingsif you want to check out <new
#-----Random----Weight---Generator-------------------------------#
import random random_number = random.randint(1, 100) weight = random_number print("Weight:", weight, "lbs")
Ground Shipping
if weight <= 2: cost_ground = round(weight * 1.5) + 20 elif weight <= 6: cost_ground = weight * 3.00 + 20 elif weight <= 10: cost_ground = weight * 4.00 + 20 else: cost_ground = round(weight * 4.75) + 20
print("Ground Shipping $", cost_ground)
Ground Shipping Premimum
cost_ground_premium = 125
print("Ground Shipping Premimium $", cost_ground_premium)
Drone Shipping
if weight <= 2: cost_drone = round(weight * 4.5) elif weight <= 6: cost_drone = weight * 9.00 elif weight <= 10: cost_drone = weight * 12.00 else: cost_drone = round(weight * 14.25)
print("Drone Shipping: $", cost_drone)