NumPy - Array Operations
Identify the error in this code:
import numpy as np arr = np.array([1, 2, 3]) result = arr >= 2 print(result[3])
import numpy as np arr = np.array([1, 2, 3]) result = arr >= 2 print(result[3])
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions