Tag: how to pop an element from a list in python