NumPy - Indexing and Slicing
Identify the error in the following code snippet:
import numpy as np arr = np.array([5, 10, 15, 20]) indices = [1, 4] print(arr[indices])
