[Python-ideas] List Revolution

Christopher King g.nius.ck at gmail.com
Sat Sep 10 19:41:06 CEST 2011


>
>    >>> print a.first
>    0
>    >>> print a.second
>    1
>    >>> print a.third
>    2
>    >>> print a.twentieth
>    19
>    >>> print a.twentysecond
>    21
>    >>> print a.onehundredthirtyfifth
>    134
>    >>> print a.onethousandfivehundredandthirtyeighth
>    1537

 This isn't good, because it requires to much typing. That's like saying
that we should use the names of integers instead of the number. Also, the
range would probably be changed to anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110910/959a9ac2/attachment.html>


More information about the Python-ideas mailing list