Write a Python program to print Square root of matrix elements


Topic: Write a Python program to print Square root of matrix elements

Solution

mat1 = np.array([[10,20,30],[40,50,60],[70,80,90]])
print(np.sqrt(mat1))



List all Python Programs