Menu
×
×
Correct!
Exercise:Use negative indexing to print the last item in the list.
fruits = ["apple", "banana", "cherry"]
print(fruits[-1])
Not CorrectClick here to try again. Correct!Next ❯fruits = ["apple", "banana", "cherry"] print() |