how to delete from a list of numbers code example
Example: 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]
>>>lst= set([1,2,6,8]) - set([2,3,5,8])
set([1, 6])
print(list(lst))
#output = [1,6]