Lists

Ian Kelly ian.g.kelly at gmail.com
Mon Sep 15 17:53:45 CEST 2014


On Mon, Sep 15, 2014 at 1:36 AM, Peter Otten <__peter__ at web.de> wrote:
> I'd call range() an iterable.

I'd even go so far as to call it a sequence.

>>> from collections import Sequence
>>> issubclass(range, Sequence)
True



More information about the Python-list mailing list