Need help


#1




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


def hotel_cost(night):
    return 140*night

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


#2

Take a look at the first letter of your cities in your if/elif statements. They aren't capitalized like the instructions asked.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.