Sal's Shipping Project - Python3 Error

Hi everyone,

I got an errror below inside the sal_ship function and don’t understand why? Please help me with this.

File “script.py”, line 37
else:
^
SyntaxError: invalid syntax

My code for the project is as follows:

def ground_ship(weight):
  if weight <= 2:
    return 1.5 * weight + 20
  elif 2 < weight <= 6:
    return 3 * weight + 20
  elif 6 < weight <= 10:
    return 4 * weight + 20
  else:
    return 4.75 * weight + 20

print(ground_ship(8.4))

premium_ship = 125

def drone_ship(weight):
  if weight <= 2:
    return 4.5 * weight
  elif 2 < weight <= 6:
    return 9 * weight
  elif 6 < weight <= 10:
    return 12 * weight
  else:
    return 14.25 * weight

print(drone_ship(1.5))

def sal_ship(weight):
  ground_ship(weight) = ground
  drone_ship(weight) = drone
  premium_ship = premium
  if ground < drone and ground < premium_ship:
    print("group_shipping is cheapest")
    print("It costs $" + str(ground) + " to ship a package of " + str(weight) + " lb using ground shipping")
  elif drone < premium_ship:
    print("drone_shipping is cheapest")
    print("It costs $" + str(drone_ship(weight) + " to ship a package of " + str  (weight) + " lb using drone shipping")
  else:
    print("premium_shipping is cheapest")
    print("It costs $" + str(premium_ship) + " to ship a package of " + str  (weight) + " lb using drone shipping")

sal_ship(17)

when having errors like this, always check the line above as well.

You work with parentheses, which allows us to put the code on multiple lines, so not closing all parentheses properly, can give a syntax error a line later.

Check if you closed all your previous parentheses when you get a syntax error like this.
Also, check your variable assignment, because you’re going to get a “can’t assign to function call” when you debug the first syntax issue.