Taking a Vacation - Tampa error


def hotel_cost(nights):
return 140 * nights

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

This is typed out but when saved it replies to me "Oops, try again. It looks like plane_ride_cost does not return 220 when the city is Tampa. "

I tried changing the numbers over and over and nothing changes


For your conditionals, it should be:

if/elif (city == "CityName") {

The way you had it, it would always return 183.