list.pop

s.pop([i]) same as x = s[i]; del s[i]; return x

The list.pop method is only supported by the list and array types. The optional argument i defaults to -1, so that by default the last item is removed and returned.

 

A Django site. rendered by a django application. hosted by webfaction.