NumPy - Array Operations
Identify the error in this code snippet that tries to add 10 to each element of
arr in-place:import numpy as np arr = np.array([4, 5, 6]) arr = arr.add(10) print(arr)
