[Tutor] Tutor Digest, Vol 58, Issue 2

W W srilyk at gmail.com
Tue Dec 2 01:23:31 CET 2008


On Mon, Dec 1, 2008 at 5:24 PM, Alan Gauld <alan.gauld at btinternet.com>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20081201/8c1b21e9/attachment.htm>


More information about the Tutor mailing list