Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

what is the python minimum integer?NameError: global name 'xrange' is not defined in Python 3

Asked by Arti Trivedi Apr 17, 2021 1.6K views 1 answer
Share

About this question

I am getting an error “python xrange not defined” when running a python program:

Traceback (most recent call last): 

File "C:Program Files (x86)Wing IDE 101 4.1srcdebugtserver_sandbox.py", line 110, in  

File "C:Program Files (x86)Wing IDE 101 4.1srcdebugtserver_sandbox.py", line 27, in __init__ 

File "C:Program Files (x86)Wing IDE 101 4.1srcdebugtserverclassinventory.py", line 17, in __init__ builtins.NameError: global name 'xrange' is not defined

What is the cause of this error?

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.