python list remove at index

a = ['a', 'b', 'c', 'd']
a.pop(1)

# now a is ['a', 'c', 'd']

Here is what the above code is Doing:
1. We create a list called a with four elements.
2. We call the pop() method on a, passing in the index of the element we want to remove.
3. We print out the list to see what it looks like.
4. We call the pop() method on a again, this time without passing in an index.
5. We print out the list to see what it looks like.