"W W" <[EMAIL PROTECTED]> 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 VB?)

Alan G

_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to