Christopher King: The first item in the list has an index of 0, the second has an index of 1, the third is 2, and so on. Sometimes this is confusing for beginners python and programming in general. This numbering system was adopted at a time when 1 bit was still of great importance. It's time to upgrade. Keep in mind that this proposal is for the fourth version, because it will not have backward compatibility. I say that we have to make the first element with index 1, the second with index 2, etc. Other languages ​​will follow. We want to make the python easy and readable, and in an era when you can’t get anything less than a kilobyte via USB, we have to make the first one, the second one second, and the third one third, as it should be. I give this a "+1".* Guido van Rossum is the author of the Python programming language, his BDFL .
Guido van Rossum: Consider it already done.
Guido van Rossum: ... In any case, your idea will not fly, let alone whether this idea is a good idea for the design of a new language. All code written over the more than 20 years of python’s existence should be changed, not to mention the brains of millions of users and hundreds of books about python.
Plus, almost all other widely used programming languages ​​(C, C ++, Java, C #, JavaScript, Ruby, Objective C) start indexing from scratch.
This is an ideological battle that has been fought for a long time (all old programming languages ​​support indexing based on 1: Fortran, Algol, Pascal), and indexing won from 0, and this is actually not so important by and large, so the “status quo” wins .
Source: https://habr.com/ru/post/129210/
All Articles