Light Mode
Dark Mode
Unable to use xrange

The interpreter is keeping me from using the python function xrange to parse through a list object.

The code I wrote works fine when I run it locally, but i'm getting the following error when I attempt to run it through the interpreter:

NameError: global name 'xrange' is not defined checkio, 19 <module>, 31

Am I missing something?

Created: Feb. 2, 2014, 3:59 a.m.
Updated: Feb. 15, 2014, 4:57 p.m.
0
5
User avatar
aharrison