> it seems to me from my results that when i use a while-loop it > will execute once after the condition is met.
Nope. > ie the conditions is met the code executes one time more and > then quits. Must be that your conditional is wrong, or your conditions are not updated the way you think they are. -tkc -- http://mail.python.org/mailman/listinfo/python-list