Getting There


#1


When I submit the code it keeps saying:
Oops, try again. Did you create a function called plane_ride_cost?


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


#2

careful there :grin:


#3

Thank you!! But it is still coming up with:
Oops, try again. Did you create a function called plane_ride_cost?


#4

Are you sure you've changed the right thing? Try to refresh and resubmit your code.


#5

If you haven't solved it yet, what's the code you have input?


#6

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