import numpy as np np array([( , , ),( , , )]print(goutput[[ [ ]it is very simple to write array and print the dimensiontotal number of elements and shape can be ascertained by ndimsize and shape respectivelyg ndim size shape exampleimport numpy as np np array([( , , ),( , , )]print(gprint( ndim#dimension of the array print( sizetotal number of elements in the array print( shapesize of the array (number of rows and columnsprint( itemsizememory occupies by an data item print( dtypedatatype of the data items output[[ [ ] ( int here is the dimension of the arraymeans is -dimensional array is the number of elements in the array and ( , shows the number of rows and column of the matrix here bytes represent the size of each element in array and dtype returns the data types of the array which is int (integer bitspage