×
×
Correct!
Use negative index to print the last item in the array.
arr = np.array([10, 20, 30, 40, 50])
print(arr@(4))
arr = np.array([10, 20, 30, 40, 50])
print(arr[-1])
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 23 exercises.
Are you sure you want to continue?