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