Remove and return item at index (default last). Raises IndexError if list is empty or index is out of range.
builtins/list.pop
list.pop