Q. Which of the following is the correct syntax to search for an element ‘n’ in the numpy array ‘ar’?
β
Correct Answer: (D)
np.where(ar==n)
You must be Logged in to update hint/solution