An array in python is a data structure that can hold more than one value at a time just like a list but their is a slight different in both of them which is discussed below. arrays can hold values of only single data type e.g integers or strings. All values in an array are indexed hence have their own unique address by which they can be called at any time. Now the indexing of array values in python always starts from 0, so if I have an array starting from 1 till 100 the first value of this array i.e 1 will have its index number as 0 and the array's last value i.e 100 will have an index number of 99. to visualise it we can say: array: 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 ,9 , .........., 100 array's index : 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , ........., 99 So now you can easily see how arrays are indexed in python so If using python code which is (discussed below), call out a specific index number it wi...
A personal blog where I will be sharing my personal experiences and my learning processes