Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get the last item in a python list

# Get the last element in a List
list = ["A", "B", "C"]

print(list[-1])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #item #python #list
ADD COMMENT
Topic
Name
4+1 =