Which pair is printed after both assignments?

from NumPy
Python 3.14 beginner 2 min

Which pair is printed after both assignments?

Python
import numpy as np

values = np.array([10, 20, 30, 40])
view = values[1:3]
copy = values[[1, 2]]
view[0] = 99
copy[1] = -1
print(values.tolist(), copy.tolist())
Open in playground
Report an error