# import the important module in python
import numpy as np
# make matrix with numpy
gfg = np.matrix(‘[6.4, 1.3; 12.7, 32.3]’)
# applying matrix.round() method
geeks = gfg.round()
print(geeks)
Pavatharni . S Asked question June 6, 2023
Not a member yet? Register now
Are you a member? Login now