On Wed, Jun 22, 2011 at 10:01 PM, Anny Mous <b1540...@tyldd.com> wrote: > prime = table[i] > del table[i] >
I don't fully understand your algorithm, but I think these two lines can be rewritten as: prime=table.pop(i) Interesting algo. A recursive generator, not sure I've seen one of those before. ChrisA -- http://mail.python.org/mailman/listinfo/python-list