if number is 1-2, 4 or 6-8 or 12-28, 30, 32...

Don Garrett garrett at bgb.cc
Mon Jun 10 21:04:50 EDT 2002


Gustaf Liljegren wrote:
> Cliff Wells <logiplexsoftware at earthlink.net> wrote: 
> 
> Thanks both of you. I tried both solutions. Since some intervals are very 
> high (1000000+), it takes too long to add them to a list. Cliff's solution 
> was really fast, but it took a while to understand. :)
> 
> Gustaf

   In all truth, I didn't pay attention to the subject line, and slightly 
misunderstood the question. I was thus considering it to be a mostly newbie 
question..... yes, his answer is much better for what you are doing.

-- 
Don Garrett                             http://www.bgb.cc/garrett/
BGB Consulting                                      garrett at bgb.cc




More information about the Python-list mailing list