DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
remove from list python by index
print
(
l
.
pop
(
-
2
)
)
# 8
print
(
l
)
# [1, 2, 3, 5, 6, 7, 9]
Source by note.nkmk.me #
PREVIOUS
NEXT
Tagged:
#remove
#list
#python
#index
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit