plane_ride_cost is defined, but need seen?



def hotel_cost(nights):
    return 140 * nights

def plane_ride_cost(city):
    if fruit == "Charlotte":
        return 183
    elif fruit == "Tampa":
        return 220
    elif fruit == "Pittsburgh":
        return 222
    elif fruit == "Angeles":
        return 475

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



Never mind, I found the error already. I didn't replace the fruit variable with city