Arrays are a Numpydata type similar to lists, but optimized with additional support for mathematical functions in Numpy.
We can access elements in an array or list by their position.
In Python, elements are 0-indexed(meaning the position of the first element in an array is 0, not 1).
One interpretation of this is that an element’s position represents the number of elements before it.
Accessing an element at the end of an array can be done in multiple ways:
One difference between lists and arrays is that arrays can only store one data type.
Operations with arrays are handled with a behavior called broadcasting.