rental_car_cost(3) returned 120 instead of the correct value 100


#1

def hotel_cost(nights):
   return 140*nights

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

def rental_car_cost(days):
    return 40 * days
    if days >= 7:
     return - 50
    elif days  >= 3:
     return - 20

def trip_cost(city,days):
    return hotel_cost(days) + plane_ride_cost(city) + rental_car_cost(days)

print trip_cost('Los Angeles',2)

result 835 NS NONE
BUT ERROR.

errorr: Oops, try again.
    rental_car_cost(3) returned 120 instead of the correct value 100

I am getting error as Oops, try again. trip_cost('Pittsburgh', 0) raised an error: 'int' object is not iterable
#2

Hi inside your def trip_cost() you should add spending_money and add it in the return statement then the trip that the lesson aske you to do is that one trip_cost("Los Angeles", 5, 600) where
5 is the number of day and 600 spending_money