Jon Crump wrote:
> Kent,
> 
> That's damned clever! Your solution hovers right at the limit of my 
> understanding, but the print statements illustrate very clearly the 
> operation of the function.

You're welcome! I recently wrote some notes about iterators and 
generators that might help your understanding:
http://personalpages.tds.net/~kent37/kk/00004.html

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to