Menu
×
×
Correct!
Exercise:
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[1:4])
arr = np.array([10, 15, 20, 25, 30, 35, 40])
print(arr[1: 4])
arr = np.array([10, 15, 20, 25, 30, 35, 40])
print(arr[1 : 4])
arr = np.array([10, 15, 20, 25, 30, 35, 40])
print(arr[1 :4])
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 23 exercises.
Are you sure you want to continue?