On Mon, Dec 1, 2008 at 5:24 PM, Alan Gauld <[EMAIL PROTECTED]>wrote:

> <snip>Since the OP isn't using the loop counter a simpler solution
> is simply
>
> for x in range(3):


but the OP was looping from 3 to 1, and that's the easiest way I knew of.

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

Reply via email to