PyDocs

Nav

Python Runtime Services

list.pop

builtins

method of list
  • list.pop(index=-1, /)
Remove and return item at index (default last).

Raises IndexError if list is empty or index is out of range.
0 Examples
No examples for builtins/list.pop.
See Also
No see-alsos for builtins/list.pop
0 Notes
No notes for list.pop