NumPy - Indexing and Slicing
What will be the output of this code?
import numpy as np arr = np.array([10, 15, 20, 25]) filtered = arr[(arr % 20) == 0]
import numpy as np arr = np.array([10, 15, 20, 25]) filtered = arr[(arr % 20) == 0]
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions