[Tutor] Tutor Digest, Vol 58, Issue 2

Alan Gauld alan.gauld at btinternet.com
Tue Dec 2 02:27:08 CET 2008

"W W" <srilyk at gmail.com> wrote

>> for x in range(3):
> but the OP was looping from 3 to 1, and that's the easiest way I 
> knew of.

Yes, but they weren't using the counter so it didn't matter which
way they looped. I suspect the decrement pattern was just the one
they were most familiar  with in some other language (like Java? or 

Alan G 

More information about the Tutor mailing list