Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to find the last item of a list

list1 = ['a','b','c']
print(list1[-1])

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #find #item #list
ADD COMMENT
Topic
Name
5+6 =