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 stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#list
#python
ADD COMMENT
Topic
COMMENT
Name
7+5 =
Submit