Sal's Shipping (Last excercise )

Hi Guys,
I am currently progressing on the Python programming. On the Sal’s Shipping excercise. I am getting an error message (Please see below). I have included the link below, if you could kindly take a look and suggest how to get around the error. Thank you in advance.

Traceback (most recent call last):
File “script.py”, line 32, in
print(cheapest_method(4.8))
File “script.py”, line 21, in cheapest_method
gs=float(ground_shipping(weight))
ValueError: could not convert string to float: ‘The cost is 34.4’[premium_shipping= 125.00 def ground_shipping(weight): if weight<=2 : return "The cost is "+ str(20.00 + weight* 1.50) elif weight>2 and weight<=6 : return "The cost is "+ str(20.00 + weight 3.00) elif weight>6 and weight<=10 : return "The cost is "+ str(20.00 + weight4.00) else : return "The cost is "+ str(20.00 + weight4.75) def drone_shipping(weight): if weight<=2 : return "The cost is "+ str(0.00 + weight 4.50) elif weight>2 and weight<=6 : return "The cost is "+ str(0.00 + weight 9.00) elif weight>6 and weight<=10 : return "The cost is "+ str(0.00 + weight12.00) else : return "The cost is "+ str(0.00 + weight14.25) def cheapest_

method(weight): gs=float(ground_shipping(weight)) ds=float(drone_shipping(weight)) ps=float(125.00) if gs < ds and gs < ps: return "The cheapest method is the ground shipping with the cost "+ str(gs) if ds < gs and ds < ps: return "The cheapest method is the drone shipping with the cost "+ str(ds) else: return "The cheapest method is the drone shipping with the cost "+ str(ps) print(ground_shipping(8.4)) print(drone_shipping(1.5)) print(cheapest_method(4.8))](http://premium_shipping= 125.00 def ground_shipping(weight): if weight<=2 : return "The cost is "+ str(20.00 + weight 1.50) elif weight>2 and weight<=6 : return "The cost is "+ str(20.00 + weight 3.00) elif weight>6 and weight<=10 : return "The cost is "+ str(20.00 + weight4.00) else : return "The cost is "+ str(20.00 + weight4.75) def drone_shipping(weight): if weight<=2 : return "The cost is "+ str(0.00 + weight 4.50) elif weight>2 and weight<=6 : return "The cost is "+ str(0.00 + weight 9.00) elif weight>6 and weight<=10 : return "The cost is "+ str(0.00 + weight12.00) else : return "The cost is "+ str(0.00 + weight*14.25) def cheapest_method(weight): gs=float(ground_shipping(weight)) ds=float(drone_shipping(weight)) ps=float(125.00) if gs < ds and gs < ps: return "The cheapest method is the ground shipping with the cost "+ str(gs) if ds < gs and ds < ps: return "The cheapest method is the drone shipping with the cost "+ str(ds) else: return "The cheapest method is the drone shipping with the cost "+ str(ps) print(ground_shipping(8.4)) print(drone_shipping(1.5)) print(cheapest_method(4.8)))

ground_shipping and drone_shipping should just return a float, not as part of a string

float() can’t just convert "The cost is x" string to a float.