Hi, What is the difference between range & xrange
Forget about xrange. It doesn’t exist any more.
>>> xrange
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'xrange' is not defined
Use help(range)
or read the docs to find out about range
.