[docs] Python tutorial - example on "range" function (chapter Built-in Functions)

Cristian Dragan (cdragan) cdragan at micron.com
Tue Feb 2 12:32:30 EST 2016


Hi,

According to the definition of the range function (within the Python tutorial 2.7.11) I assume that

>>> range(1, 0)

Should have 1 element: [1], while the tutorial specify: [].

Please let me know if I misunderstood the definition of the "range" function.

Thank you very much,
Cristian Dragan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20160202/2b0220db/attachment.html>


More information about the docs mailing list