title: answers to my global variables?
body: <p>I am a beginner coder and I have this game I am making, but my problem is that in my game the user has points that they can spend in battle. And it shall update the points variable depending on how much you spend.</p>
  
  <pre><code>global Points
      Points = int(100)
  def Combat():
      print('how much points would you spend(higher points = higher chance of winning')
      a9 = int(input('&gt;'))
      Points = int(Points)- int(a9)
      global Points
      print('You have ',Points,' points')
  </code></pre>
  
  <p>But for some reason it doesn't change the global point variable, any answers?
  Does this have an answer?
  Or is it unsolved?</p>