Plane_ride_cost does not return 183 when city is "Charlotte"


#1




i get this message error when i put this code..

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


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 == "Pittsbugh":
        return "222"
    elif city == "Los Angles":
        return "475"


whats wrong here??


#2

the numbers returned should be integers, not strings


#3

ohh Thank you very mutch :slight_smile:


#5