title: Python, Functions changing values
body: <p>So I am having trouble getting this system to work, and I can't be sure that I'm asking the right question, but here is what is happening and what I want to happen. </p>
  
  <pre><code>money = 1
  def Stats():
       print
       print "money " + str(money)
  
  def gainM():
       money + 2
       Stats()
  
  if money == 1:
       gainM()
  </code></pre>
  
  <p>Now what happens when it goes to print money, the value is still 1 even though I add 2 to the value. (code is not a copy of my actual program, but an example to show what is happening.)</p>