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 a list of numbers from a list in python
>>>lst= set([1,2,6,8]) - set([2,3,5,8]) set([1, 6]) print(list(lst)) #output = [1,6]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#remove
#list
#numbers
#list
#python
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit