PEP 276 Simple Iterator for ints (fwd)
greg at cosc.canterbury.ac.nz
Thu Nov 29 00:31:18 CET 2001
Gareth McCaughan wrote:
> -1. The values of i/3 over that sequence are 0,1,2,3. Ick.
Sorry, stuffed it up. I meant
for 0 <= i/3 < 2:
to give 0, 3, 6, 9.
Of course, with the new-style division it should be
for 0 <= i//3 < 2:
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
More information about the Python-list