×
×
Correct!
Use negative indexing to print the last item in the list.
fruits = ["apple", "banana", "cherry"]
print(@(10))
fruits = ["apple", "banana", "cherry"]
print(fruits[-1])
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 95 exercises.
Are you sure you want to continue?