Taking a Vacation - Getthing there bug?


So I'm stuck on this exercise

As far as I can see I defined the function correctly but I still get this Error:

Oops, try again. Did you create a function called plane_ride_cost?

I don't see anything wrong with my code but maybe im overlooking something really stupid

Here's my full code:

def hotel_cost(nights):
    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


elif city == Pittsburgh:


I blame it on being 3am here... Thanks


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.