NameError: global name 'xrange' is not defined in Python 3 NameError: global name 'xrange' is not defined in Python 3 python-3.x python-3.x