Christian Heimes <li...@cheimes.de> added the comment:

In Python 3 the range() builtin returns an iterator, not a list of items. You 
have to exhaust the iterator to get a list of iterator items.

>>> list(range(-10, -100, -30))
[-10, -40, -70]

----------
nosy: +christian.heimes
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44179>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to