+ 1

Why 0 first?

Can anyone explain why python use 0 first creating unnecessary confusion? Is there any reason?

10th Sep 2021, 12:56 AM
Ahchicuchi
Ahchicuchi - avatar
2 Respuestas
+ 3
Ahchicuchi Not only python almost all programming language start from index 0 but R start from index 1
10th Sep 2021, 2:41 AM
A͢J
A͢J - avatar
0
I came across this explanation: http://python-history.blogspot.com/2013/10/why-python-uses-0-based-indexing.html?m=1
10th Sep 2021, 1:01 AM
Steve
Steve - avatar