title: How to make a function change variables while in a while loop?
body: <pre><code>def lol(done, really_done):
      done = done + 1
      print(done)
      if done == 10:
          really_done = True
  
  really_done = False
  while really_done == False:
      done = 0
      lol(done, really_done)
  </code></pre>
  
  <p>so whenever I run this code, it does not change the value of done, it always stays at 1. I want it to change to 10 and stop the while loop. I only want it in this type of module.</p>