delete element from list value

>>> a=[1,2,3]
>>> a.remove(2)
>>> a
[1, 3]
>>> a=[1,2,3]
>>> del a[1]
>>> a
[1, 3]
>>> a= [1,2,3]
>>> a.pop(1)
2
>>> a
[1, 3]
>>> 

Here is what the above code is Doing:
1. Creating a list with three elements.
2. Removing the element with value 2 from the list.
3. Creating a list with three elements.
4. Deleting the element at index 1 from the list.
5. Creating a list with three elements.
6. Removing the element at index 1 from the list and returning its value.
7. Creating a list with three elements.
8. Removing the last element from the list and returning its value.
9. Creating a list with three elements.
10. Removing the element with value 2 from the list.
11. Creating a list with three elements.
12. Deleting the element at index 1 from the list.
13. Creating a list with three elements.
14. Removing the element at index 1 from the list and returning its value.
15. Creating a list with three elements.
16. Removing the last element from the list and returning its value.