1. 程式人生 > >xrange obsoleted by Python3

xrange obsoleted by Python3

In Python 3, the range() was implemented like the xrange() function so that a dedicated xrange() function does not exist anymore (xrange() raises a NameError in Python 3).