2009/2/9 todp...@hotmail.com <todp...@hotmail.com>: > I'm not necessarily asking for an answer. A hint would be grateful as well.
Great. Well, first you need to read: http://www.catb.org/~esr/faqs/smart-questions.html Especially the section on "Before you ask". Then you should be able to give us a question that shows that you've tried and aren't just wanting us to do your work for you, and that gives us a clear idea of where your sticking point is so we can address the sticking point instead of the whole assignment. Like: How fo you do it without using a while loop? (Yes, *I* know how to do it without using a while loop, but to help you we need to know what *you* know). Like: do you understand what a while loop does? And so on. We're a pretty friendly bunch in here, but most of us believe in "tough love" (http://en.wikipedia.org/wiki/Tough_love). -- Tim Rowe -- http://mail.python.org/mailman/listinfo/python-list