nums = [100, 200, 300, 400, 500]
>>> a = [10, 20, 30]
>>> a.remove(20)
>>> a
[10, 30]
>>> a = [10, 20, 30, 20]
>>> a.remove(20)
>>> a
[10, 30, 20]
>>> a = [10, 20, 30]
>>> a.pop()
30
>>> a
[10, 20]
>>> a = [10, 20, 30]
>>> a.pop(1)
20
>>> a
[10, 30]
>>> a = [10, 20, 30]
>>> del a[1]
>>> a
[10, 30]
>>> a = [10, 20, 30]
>>> a.clear()
>>> a
[]
>>> a = [10, 20, 30]
>>> del a[:2]
>>> a
[30]