NumPy - Array Operations
Given
arr = np.array([1, 2, 3, 4]), you want to normalize the array by dividing each element by the maximum value using scalar operations. Which code snippet correctly does this?