Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

last element of list python

list1 = ['a','b','c']
print(list1[-1])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #element #list #python
ADD COMMENT
Topic
Name
1+7 =