# How to compute numerical negative value for all elements in a given NumPy array in Python # importing libraryimport numpy as np# creating a arrayx = np.array([-1, -2, -3,              1, 2, 3, 0])print("Printing the Original array:",      x)# converting array elements to# its corresponding negative valuer1 = np.negative(x)print("Printing the negative value of the given array:",      r1)