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 |
What is the difference between ‘match’ and ‘search’ in python?
How to access a module written in python from c?
How can you share variables across modules?
Which os is best for python?
Explain the dictionary in Python.
How to reverse a string in python
What's the difference between python and anaconda programming?
Where do we use python scripting?
What is python interpreter?
How are arguments passed by value or by reference?
What is monkey patching?
Tell me what are the built-in type does python provides?