Listing 6. The range and xrange methods.
清单6 . range和xrange方法。
For example, you can set the xrange also: plot [-pi: PI] sin (x).
例如,还可以设置xrange: plot [- pi: pi] sin (x)。
This same concern got xrange() and xreadlines() added to Python in earlier versions.
同样是这个问题,使得 Python 较早的版本中添加了 xrange() 和 xreadlines() 。
应用推荐