syntax


tuple[-1]

example


#tuple
animals = ('cat', 'dog', 'zebra', 'shark')

#get last element of tuple python
print(animals[-1])

output

shark

English today is not an art to be mastered it's just a tool to use to get a result