Python Intro - xrange obsoleted by Python3

来源:互联网 发布:井之原快彦 知乎 编辑:程序博客网 时间:2024/06/05 03:15




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


0 0