DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+6 =
Submit