Sal's shipping shortcut?

I tried playing around with a shortened version of the sal’s shipping project but keep getting an error and am unsure why. Would be curious to know where I went wrong. I was attempting to write a code that would only show the cheapest option.
The error is:
Traceback (most recent call last):**
File “My_attempts.py/Sal_Shipping_Short.py”, line 4, in **
Cost_of_shipping = Weight * Price_per_pound + Flat_Charge**
TypeError: unsupported operand type(s) for : ‘float’ and ‘type’*

Do you guys have any ideas on why I keep getting this error?
Here is my code:

Price_per_pound= float
Flat_Charge= float
Weight= 8.4
Cost_of_shipping = Weight * Price_per_pound + Flat_Charge

if Weight <= 2.00:
Price_per_pound= 1.50 or 4.50
Flat_Charge= 20.00 or 0.00
elif Weight <=6.00:
Price_per_pound= 3.00 or 9.00
Flate_Charge= 20.00 or 0.00
elif weight <= 10:
Price_per_pound= 4.00 or 12.00
Flate_Charge= 20.00 or 0.00
if Cost_of_shipping >= 125.00:
print(“Ground Shpping Premium is your cheapest shipping option”)
elif Cost_of_shipping >= 23.00:
print(“Drone Shipping is your cheapest shipping option”)
else:
print(“Ground Shipping is your cheapest option”)

Slightly changed code incorporating suggested solution but I’m still not getting the desired result of the programme identifying the cheapest cost.

Here is the code:

weight= 23

if weight<=2:

cost_ground= weight * 1.5 + 20

elif weight <= 6:

cost_ground= weight * 3 +20

elif weight <= 10:

cost_ground= weight * 4 +20

elif weight >= 10:

cost_ground= weight * 4.75 +20

cost_ground_premium= 125

if weight<=2:

drone_shipping= weight * 4.5

elif weight <= 6:

drone_shipping= weight * 9

elif weight <= 10:

drone_shipping= weight * 12

elif weight >= 10:

drone_shipping= weight * 14.25

print(“Drone Shipping cost: $”, drone_shipping)

print(“Ground Shipping cost: $”, cost_ground)

print(“Ground Shipping Premium cost: $”, cost_ground_premium)

if drone_shipping> 21.5:

print(“Ground Shipping: $”, cost_ground, " is your cheapest option")

elif not drone_shipping> 21.5:

print(“Drone shipping: $”, drone_shipping, " is your cheapest option")

elif drone_shipping>=125 or cost_ground>=125:

print(“Ground Shipping Premium cost: $”, cost_ground_premium, " is your cheapest option")

This returns the output:

Drone Shipping cost: $ 327.75
Ground Shipping cost: $ 129.25
Ground Shipping Premium cost: $ 125
Ground Shipping: $ 129.25 is your cheapest option

cost_ground is clearly more than $125 but the code returns the incorrect answer.
Any ideas where I went wrong on this one?

Welcome to the forums!

Python relies on indentation (esp. here with control flow & conditionals). Please format your code so people don’t have to decipher if there’s an indentation error, etc.