You missed the fact that I am printing the value of x *after*
incrementing it.You're quite right, sorry. I'm too accustomed to the usual c idiom, which would increment the value at the end of the loop.
-- DaveA _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor