remove a number in list in python code example
Example 1: delete a value in list python
list.remove(element)
Example 2: 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]