Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get the last value in a list python

your_list = ["apple", "orange", "grapes"]
last_value = your_list[-1]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #python
ADD COMMENT
Topic
Name
7+5 =