accessing array element we can access each element of an arrayusing the index of the element the below code shows how to access an array element from array import array array(' '[ , , , , ]print (array [ ]print (array [ ]output when we compile and execute the above programit produces the following resultwhich shows the element is inserted at index position insertion operation insert operation isto insert one or more data elements into an array based on the requirementa new element can be added at the beginningendor any given index of array herewe add data element at the middle of the arrayusing the python in-built insert(method from array import array array(' '[ , , , , ]array insert( , for in array print(xoutput