title: How to edit variables while a cell is running in Jupyter Notebook?
body: <p>Apologies for this absolute noob question, previously when using Jupyter Notebook I have been able to change the values of variables in a currently running cell simply by defining them in another cell and running that one. For some reason this no longer works. I would like to regain this function so that I can change physical parameters inside a numerical integration loop while it is still running.</p>
  
  <h2>First cell with loop</h2>
  
  <pre><code>import time
  t = 0
  
  while t&lt;20:
      t = t + 1
      time.sleep(1)
      print(t)
  </code></pre>
  
  <hr>
  
  <h2>Second cell</h2>
  
  <pre><code>t = 1
  </code></pre>
  
  <hr>
  
  <p>If the first cell is running and I attempt to run the second one, Jupyter waits for the first to finish before executing the second. I would like to manually change variables while the loop is still running.</p>