On Mon, 2 Dec 2013 22:57:30 +1000, Amit Saha <amitsaha...@gmail.com> wrote:
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

Reply via email to