Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

last element of list python

list1 = ['a','b','c']
print(list1[-1])
 
PREVIOUS NEXT
Tagged: #element #list #python
ADD COMMENT
Topic
Name
2+3 =