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 an element from a list in python
num = [1,2,3,7,4,5,6] print("Before remove 7:", num) num.remove(7) print("After remove 7:", num)
Source by xahlee.info #
PREVIOUS
NEXT
Tagged:
#remove
#element
#list
#python
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit