NumPy - Indexing and Slicing
What is the output of the following code?
import numpy as np arr = np.array([1, 4, 7, 10]) result = np.where(arr > 5, arr, 0) print(result)
