s.pop([i]) same as x = s[i]; del s[i]; return x
s.pop([i])
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.
-1