lostinpython wrote: > But needless to say, I'm stumped on this > problem. I keep ending up in a never ending loop.
I've been told that the trick with recursion/iteration is to always determine what your ending condition is first, and then construct the body of the recursion/loop to reach that ending condition eventually. If you post the specific code which is giving you problems, people here can point out why you're missing the exit. -- http://mail.python.org/mailman/listinfo/python-list