Python‎ > ‎list‎ > ‎

list.pop()

http://www.adilwaseem.com/

Definition
Delete and return item at index .

Syntax
list.pop([index]) -> item 

Parameters
an integer

Examples
The values are:
 >>> x=["Python", "Research", "Centre"]
>>> x.pop(2)
'Centre'
>>> x
['Python', 'Research']
>>> 

Comments