DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
access last element of list python
MyList=["Black","Blue","Red","Green"] print(MyList[-1])
PREVIOUS
NEXT
Tagged:
#access
#element
#list
#python
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit