title: What does "unsupported operand type(s) for -: 'int' and 'tuple'" means?
body: <p>I got a error saying:</p>
  
  <pre><code>unsupported operand type(s) for -: 'int' and 'tuple'
  </code></pre>
  
  <p>How do I correct it?</p>
  
  <pre><code>from scipy import integrate
  cpbar = lambda T: (3.826 - (3.979e-3)*T + 24.558e-6*T**2 - 22.733e-9*T**3 + 6.963e-12*T**4)*8.314
  deltahbarCH4 = integrate.quad(cpbar,298,1000)
  var = deltahbarCH4
  
  hRPbar = hRPbar + (deltahbarCO2 + 2*deltahbarH2O - var -2*deltahbarO2)
  </code></pre>