On Fri, 16 Sep 2005, Nathan Pinno wrote:

> cq is for "current question" and q is for "question"
> therefore cq >= q should be correct most of the time

Are you sure?

Try specific values of current_question and question: don't just assume
that it'll work: try running through the numbers.

Remember, your initial conditions right before hitting the while loop are:

     question = random.choice(range(15,31))
     current_question = 1


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

Reply via email to