×
×
Correct!
Insert the correct slicing syntax to print the following selection of the array:
arr = np.array([10, 15, 20, 25, 30, 35, 40])
print(arr@(5))
arr = np.array([10, 15, 20, 25, 30, 35, 40])
print(arr[2:4])
arr = np.array([10, 15, 20, 25, 30, 35, 40])
print(arr[2: 4])
arr = np.array([10, 15, 20, 25, 30, 35, 40])
print(arr[2 : 4])
arr = np.array([10, 15, 20, 25, 30, 35, 40])
print(arr[2 :4])
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 23 exercises.
Are you sure you want to continue?