DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to remove the last item in a list python
myList = [8, 2, 19, 6, 14] myList.remove(myList[-1]) print(myList)
PREVIOUS
NEXT
Tagged:
#remove
#item
#list
#python
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit