Sal's Shipping

https://www.codecademy.com/paths/computer-science/tracks/cspath-flow-data-iteration/modules/dspath-control-flow/projects/sals-shipping

I have done the exact same thing as the video shown on youtube.
However, I keep getting errors while running codes.
Traceback (most recent call last):
File “script.py”, line 95, in
print_cheapest_shipping_method(4.8)
File “script.py”, line 92, in print_cheapest_shipping_method
% (cost, method)
TypeError: not all arguments converted during string formatting

def shipping_cost_ground(weight):
  if weight <= 2:
    price_per_pound = 1.50
  elif weight <= 6:
    price_per_pound = 3.00
  elif weight <= 10:
    price_per_pound = 4.00
  else:
    price_per_pound = 4.75

  return 20 + (price_per_pound * weight)

print(shipping_cost_ground(8.4))

shipping_cost_premium = 125.00

def shipping_cost_drone(weight):
  if weight <= 2:
    price_per_pound = 4.50
  elif weight <= 6:
    price_per_pound = 9.00
  elif weight <= 10:
    price_per_pound = 12.00
  else:
    price_per_pound = 14.25

  return price_per_pound * weight

print(shipping_cost_drone(1.5))

def print_cheapest_shipping_method(weight):

  ground = shipping_cost_ground(weight)
  premium = shipping_cost_premium
  drone = shipping_cost_drone(weight)

  if ground < premium and ground < drone:
    method = "standard ground"
    cost = ground
  elif premium < ground and premium < ground:
    method = "premium ground"
    cost = premium
  else:
    method = "drone"
    cost = drone

  print(
    "The cheapest option available is $%.2f with $s shipping."
    % (cost, method)
    )

print_cheapest_shipping_method(4.8)

Hello @rubyplayer01168, welcome to the forums! Are you sure this is how you use the % character to format strings?

Have a look at this article on how to do it.