Getting There!?


#1

My code =

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'

Raises: It looks like plane_ride_cost does not return 183 when the city is Charlotte
??????


#2

Hi try to remove the " " around all the number in the first case

return 183

#3

Worked like a charm. Thanks marco