Getting There


#1



I think my code is right. Not sure why it wont work.


https://www.codecademy.com/courses/python-beginner-P5YtY/1/2?curriculum_id=4f89dab3d788890003000096


def hotel_cost(nights):
    return 140 *  nights
    
def plane_ride_cost(city):
    if city == "Charlote":
        return 183
    elif city == "Tampa":
        return 220
    elif city == "Pittsburgh":
        return 222
    elif city == "Los Angeles":
        return 475


#2

you misspelled charlotte


#3

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