Help on, TAKING A VACATION (getting there)


#1

coder,

def hotel_cost(nights):
return 140 * nights

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

says,
"Oops, try again. It looks like plane_ride_cost does not return 183 when the city is Charlotte."

thanks,
netpro53805


#2

The return value should be a number, which means it is written without quotes.

return 183

Check the spelling of 'Pittsburg', as well.