[Tutor] Loop over floating point values

Dave Angel davea at davea.name
Mon Dec 2 15:50:37 CET 2013


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



More information about the Tutor mailing list