NumPy - Indexing and Slicing
Find the mistake in this code snippet:
import numpy as np arr = np.array([10, 20, 30, 40]) indices = [1, 2, 4] print(arr[indices])
