Error - Have you defined function



I keep getting the error: Did you create a function called plane_ride_cost?; I've been staring at this for ages now and can't figure out what's wrong:

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

Thanks for the help!


Look at this part should be easy to figure out.



Thanks for the reply; I'm assuming you mean the ; ? I've taken it out and it changes nothing, getting the same error.

Now fixed! I retyped the entire code again and it seems to have done the trick.