title: Calling functions with variables multiple times
body: <p>I'm making a program for a school project and I'm having an issue.</p>
  <p>I have defined a function called <code>DidThisWork</code> like so:</p>
  <pre><code>def DidThisWork():
      global DidThisWork
      DidThisWork = input('\n\nDid this solution work? - ').lower()
  </code></pre>
  <p>Throughout my code, I want to call this function multiple times, however, I'm not able to. Is there a way, to call it multiple times, and like reset the <code>DidThisWork</code> variable inside the function after I used it in <code>if</code> statements?</p>