When I type in the following code:
def hotel_cost(nights):
return 140 * nights
def plane_ride_cost(city):
if city == “Charlotte”:
return 183 * nights
elif city == “Tampa”:
return 220 * nights
elif city == “Pittsburgh”:
return 222 * nights
elif city == “Los Angeles”:
return 475 * nights
Code Academy returns this error:
Oops, try again. Did you create a function called plane_ride_cost?
As you can see I clearly did so what seems to be the issue?