[EMAIL PROTECTED] wrote: > so if i change the line > if i in range (0, 10000): > to > if i >= 0 and i < 10000: [snip;] > is there an alternative use of range() or something similar that can > be as fast?
you've found that alternative yourself! just use the comparison operators... in fact, you can write a little more compact as: if 0 <= i < 10000 : [sreeram;]
signature.asc
Description: OpenPGP digital signature
-- http://mail.python.org/mailman/listinfo/python-list