Why 0 first? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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