drop elements list code example Example: remove element from list >>> a = [0, 2, 3, 2] >>> a.remove(2) >>> a [0, 3, 2]