On Fri, 29 Aug 2003 20:01:23 +0100 Pigeon <[EMAIL PROTECTED]> wrote: > Oh, that's interesting - the for loop's running from 0 to 9, so it > prints "81", not "100".
Yes, range(x) does 0 to x-1. This is for stuff like this (and this is a bad example)... for x in range(10): baz[x] = foo[x] + bar[x] -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your PGP Key: 8B6E99C5 | main connection to the switchboard of souls. -------------------------------+---------------------------------------------
pgp00000.pgp
Description: PGP signature