Menu
×
×
Correct!
Exercise:Use negative index to print the last item in the array.
arr = np.array([10, 20, 30, 40, 50])
print(arr[-1])
Not CorrectClick here to try again. Correct!Next ❯arr = np.array([10, 20, 30, 40, 50]) print(arr) |