3/7 vacation


#1

def hotel_cost(nights):
hotel_cost == 140
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

It looks like plane_ride_cost does not return 222 when the city is Pittsburgh.

what could be thee problem?


#2

nevermind i misspelled


#3