# Start writing code here...
import numpy as np
np.array([1,2,3,4])
np.array([1,23,44],dtype=float)
# n domentional numpy
np.array([range(i,i+2) for i in [1,4,5]])
np.ones((2,3),dtype=int)
np.full((2,4),88)
np.random.randint(0,10,(3,3),int)
# identity matrix
np.eye(2)
# uninitialised array
np.empty((2,3))
x1=np.random.randint(0,10,(2,4),int)
x1
print(x1[0,1])
print(x1[1,1])
x1.shape
x1.size
x1.ndim
x1.dtype
print("itemsize",x1.itemsize)
print("nbytes",x1.nbytes)