[Python-ideas] Aid reiteration with new class: gfic (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jun 20 07:59:51 CEST 2009
- Previous message: [Python-ideas] Aid reiteration with new class: gfic
- Next message: [Python-ideas] Aid reiteration with new class: gfic
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
John Graham wrote:
Hrm, that leads to the question, is it mathematically possible to iterate over an infinite list... twice? :)
Sure, as long as you don't insist on finishing the first iteration before starting the second one...
And it takes exactly the same amount of time as doing it once. :-)
-- Greg
- Previous message: [Python-ideas] Aid reiteration with new class: gfic
- Next message: [Python-ideas] Aid reiteration with new class: gfic
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]