Source Code:
(back to article)
fruits = ["apple", "banana", "cherry", "durian", "elderberry"] last_fruit = fruits[-1] print(last_fruit)
Result:
Report an issue