Hi, I have enough to get me through to the next exercise but I added a little extra to make it better, except I have a problem.
When I enter input for the first question, instead of printing the cost of the hotel
140 * (nights),
I get < function hotel_cost at 0x7f8a4f879c80 >, what do I do?
*note, I put spaces between "<" and "function" so that it would show up.
> raw_input("How many nights will you be staying for?") > def hotel_cost (nights): > return 140 * (nights) > print hotel_cost > > raw_input("What city are you located in?") > def plane_ride_cost(city): > if (city) == "Charlotte": > return 183 > if (city) == "Tampa": > return 220 > if (city) == "Pittsburgh": > return 222 > if (city) == "Los Angeles": > return 475 > print plane_ride_cost