List pop() Method
In Python Built-In List pop() method is used to removes and return the last object from the given list. Syntax: There is 1 Parameter used in the list pop() method: obj An optional parameter, and the index of the object to be removed from the given list. Example: