NameError:name ‘xrange’ is not defined python
在Python 3中,range()與xrange()合併爲range( )。個人python版本爲python3.5。 函數
將xrange( )函數所有換爲range( )。python3.5