title: NameError: global name 'xrange' is not defined in Python 3
body: <p>I am getting an error when running a python program:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Program Files (x86)\Wing IDE 101 4.1\src\debug\tserver\_sandbox.py", line 110, in &lt;module&gt;
    File "C:\Program Files (x86)\Wing IDE 101 4.1\src\debug\tserver\_sandbox.py", line 27, in __init__
    File "C:\Program Files (x86)\Wing IDE 101 4.1\src\debug\tserver\class\inventory.py", line 17, in __init__
  builtins.NameError: global name 'xrange' is not defined
  </code></pre>
  
  <p>The game is from <a href="https://github.com/linkey11/Necromonster">here</a>.</p>
  
  <p>What causes this error?</p>