python for loop
google at mrabarnett.plus.com
Wed Apr 1 16:45:55 CEST 2009
Lada Kugis wrote:
> Yes, that's it. I won't argue over it, since I can't change it, but 1
> is still more natural to me (it is "the real world" way). The above
> pros seem to me to be very little compared to the cons of the ... and
> the (m-n) point Chris was trying to explain doesn't seem that relevant
> to me.
> I always thought since python is trying so hard to be as intuitive as
> it can get it would be the other way (you have 1 apple, you start
> counting from 1 ...
But you might not have any apples, so you should start from 0! :-)
More information about the Python-list