You have already completed these exercises!
Do you want to take them again?
You completed the NUMPY Search Arrays Exercises from W3Schools.com
Share on:
Consider the following code:import numpy as nparr = np.array([15, 38, 41, 46])x = np.where(arr%2 == 1)print(x)What will be the printed result?
import numpy as nparr = np.array([15, 38, 41, 46])x = np.where(arr%2 == 1)print(x)
(array([1, 3]),)
(array([15, 41]),)
(array([0, 2]),)
(array([38, 46]),)