Introduction to Python arrays
An array is a set of items kept close to one another in memory. With just an offset added to a base value, it is possible to determine the position of each element when storing multiple items of the same type together. In Python, an " array " module is used to manage arrays. Although lists can be used like arrays, users cannot specify the kind of elements that can be stored there. Therefore, when using the array module to create arrays, all array components ought to be of the same sort.