title: unable to get the output of this code. Any help will be appriciated
body: <pre><code>def expenses():
      # Getting the cost of expenses from user &quot;loanPayment, insurance, gas, oil, tires, maintainance.&quot;
      loanPayment = float(input('Enter monthly payment: $'))
      insurance = float(input('Enter monthly insurance: $'))
      gas = float(input('Enter monthly gas expanse: $'))
      oil = float(input('Enter monthly oil change expense: $'))
      tires = float(input('Enter monthly expense on tires: $'))
      maintenance = float(input('Enter monthly cost on other maintenances: $'))
  
  def monthlyCost(loanPayment, insurance, gas, oil, tires, maintenance):
  
      # Calculating and printing monthly expenses of automobile\
      totalMonthlyCost = loanPayment + insurance + gas + oil + tires + maintenance
      print('Average monthly expense of automobile is', format(monthlyCost, '.2f'), sep='')
      yearlyCost(totalMonthlyCost)
  
  def yearlyCost(monthly):
      yearlyExpense = monthly * 12
      print('Average yearly expense of automobile is $', format(yearlyExpense, '.2f'), sep='')
  yearlyCost()
  
  expenses()
  </code></pre>