NumPy - Indexing and Slicing
Consider the code:
What is the output?
import numpy as np arr = np.array([10, 20, 30, 40, 50]) slice_arr = arr[1:4] slice_arr[0] = 99 print(arr)
What is the output?
