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 sites.pitt.edu #
 
PREVIOUS NEXT
Tagged: #list #python
ADD COMMENT
Topic
Name
8+6 =