title: Python Variables and Equations
body: <p>So I'm pretty new to Python and coding in general, however I was messign around with some bisection stuff and I came across a problem. I have this code:</p>
  
  <pre><code>a = 1
  b = 2
  c = 0
  
  fa = a**3-a-2
  fb = b**3-b-2
  fc = c**3-c-2
  
  c += 2
  print(fc)
  </code></pre>
  
  <p>The problem is that when I run it, the 'c' variable changes but 'fc' stays the same and outputs -2, when it should output 4 instead. No matter what I've tried, fc alwas stays the same and updating c does nothing to change fc, even though I believe it should?</p>