Why do arrays have a 0 in it?



Why do arrays have a 0 in it?..

Answer / Mohammad Aakib

In computer programming, arrays are numbered starting from 0, rather than 1, due to historical reasons and the convenience of mathematical indexing. This convention is followed by many programming languages including Python.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What is the difference between ‘match’ and ‘search’ in python?

1 Answers  


How to access a module written in python from c?

1 Answers  


How can you share variables across modules?

1 Answers  


Which os is best for python?

1 Answers  


Explain the dictionary in Python.

1 Answers  


How to reverse a string in python

1 Answers  


What's the difference between python and anaconda programming?

1 Answers  


Where do we use python scripting?

1 Answers  


What is python interpreter?

1 Answers  


How are arguments passed by value or by reference?

1 Answers  


What is monkey patching?

1 Answers  


Tell me what are the built-in type does python provides?

1 Answers  


Categories