NumPy - Indexing and Slicing
Given a 2D numpy array
arr with shape (3, 3), which of the following expressions will extract the diagonal elements as a 1D array?