title: How do I specify multiple range restrictions?
body: <p>I would like to specify range restrictions for multiple variables in Python code.</p>
  
  <p>I have tried troubleshooting on pythontutor.com to no success.</p>
  
  <pre><code>for i in range (0,5), j in range (1,2):
      d=(abs(a[i]-(c+j)/(s+1)))
      z.append(d)
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>NameError: name 'j' is not defined
  </code></pre>