list.pop([i])

list.pop([i]) method

list.pop([i]) — The square brackets around the i in the method signature denote that the parameter is optional, not that you should type square brackets at that position.

Remove the item at the given position in the list, and return it.

If no index is specified, removes and returns the last item in the list.

Related concepts

list.pop([i])

list.pop([i]) — Structure map

Clickable & Draggable!

list.pop([i]) — Related pages: