Pull It Together giving syntax error


#1

https://www.codecademy.com/courses/python-beginner-P5YtY/1/4?curriculum_id=4f89dab3d788890003000096#

I'm getting the error
"File "python", line 25
return plane_ride_cost(city) + rental_car_cost(days) + ^
SyntaxError: invalid syntax"

From what I can tell, my code looks identical to other users (who have been getting very different error messages).

def hotel_cost(nights):
    # the hotel costs $140 each night
    return 140 * nights
    
def plane_ride_cost(city):
    if city == "Charlotte":
        return 183
    elif city == "Tampa":
        return 220
    elif city == "Pittsburgh":
        return 222
    elif city == "Los Angeles":
        return 475

def rental_car_cost(days):
    #each day costs $40
    cost= 40 * days
    if days >= 7:
        cost -= 50
    elif days >=3 and days <7:
        cost -=20
    return cost

def trip_cost(city, days):
    return plane_ride_cost(city) + rental_car_cost(days) + 
    hotel_cost(days)

#2

this should be one line of code:

return plane_ride_cost(city) + rental_car_cost(days) + 
    hotel_cost(days)

Or if you want it over multiply lines, use backslashed to escape the enter


#3

Thanks so much! I forgot I'd clicked enter


#4