Accéder à l'élément en utilisant l'indexation négative

List = [1, 2, 'Softhunt', 4, '.net', 6, 'Tutorials']
 
# accessing an element using
# negative indexing
print("Accessing element using negative indexing")
 
# print the last element of list
print(List[-1])
 
# print the third last element of list
print(List[-5])
Outrageous Ostrich