NumPy - Indexing and Slicing
What is the output of this code?
import numpy as np arr = np.array([5, 10, 15, 20]) print(arr[1:3])
import numpy as np arr = np.array([5, 10, 15, 20]) print(arr[1:3])
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions