Result Size:
625 x 571
demo_tuple_negative_index.py:
thistuple = ("apple", "banana", "cherry") print(thistuple[-1])
x
thistuple
=
(
"apple"
,
"banana"
,
"cherry"
)
print
(
thistuple
[
-
1
])
C:\Users\My Name>python demo_tuple_negative_index.py
cherry