title: Python: Wrong function argument?
body: <p>What is wrong with this code? 
  I get this error :</p>
  
  <blockquote>
    <p>Oops, try again. trip_cost should take exactly 3 arguments!</p>
  </blockquote>
  
  <p>What is wrong with this code? </p>
  
  <pre><code>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):
      money = 40 * days
      if days &gt;= 7:
          money -= 50
      elif days &gt;= 3:
          money -= 20
      return money
  
  def trip_cost(days,city,spending_money):
      return rental_car_cost(days)+hotel_cost(days) + plane_ride_cost(city) +spending_money
  </code></pre>