[issue28880] range(i, j) doesn't work

John Henning report at bugs.python.org
Mon Dec 5 13:51:06 EST 2016


John Henning added the comment:

Right about the command prompt!  My bad.  However, the new language you provided gives me the following:

>>> list(range(9))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'list' object is not callable
>>> list(range(0, 10))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'list' object is not callable
>>> list(range(0, 10, 2))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'list' object is not callable
>>>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28880>
_______________________________________


More information about the Python-bugs-list mailing list