[Tutor] xrange
elis aeris
hunter92383 at gmail.com
Tue Mar 18 23:25:07 CET 2008
ok i need about 500~1000
is that ok?
my pet practice works works fine with it,but what should I watch out for?
sorry for double reply kent, forgot to reply all.
On Tue, Mar 18, 2008 at 3:21 PM, Kent Johnson <kent37 at tds.net> wrote:
> Alan Gauld wrote:
>
> > Add a 3rd step-value argument to range. (You don't need the xrange
> > on modern versions of Python BTW)
>
> Only if by 'modern' you mean Python 3; on Python 2.x there is a
> difference between range() and xrange(). Though for a list of 20 ints I
> don't think it matters much.
>
> Kent
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080318/d34f895c/attachment.htm
More information about the Tutor
mailing list