Loop in a loop?

Paul Rubin http
Thu Jan 17 19:13:52 EST 2008


George Sakkis <george.sakkis at gmail.com> writes:
> And if the iterables don't necessarily support len(), here's a more
> general solution:

Not trying to pick on you personally but there's this disease
when a newbie comes with a basically simple question (in this case,
how to solve the problem with ordinary lists) and gets back a lot
of complex, overly general "graduate level" solutions.  

There's a humorous set of Haskell examples that takes this to extremes:

http://www.willamette.edu/~fruehr/haskell/evolution.html



More information about the Python-list mailing list