NumPy - Array Operations
What is the output of the following code?
import numpy as np arr = np.array([3, 7, 2, 9]) result = arr >= 5 print(result)
import numpy as np arr = np.array([3, 7, 2, 9]) result = arr >= 5 print(result)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions