code: def pop(self):
          
          try:
              return self._collection.pop()
          except KeyError:
              raise KeyError("Nothing left in the {}: '{}'.".format(type(self).__name__, self)) from None
docs: Removes a random element from the collection and returns it
  
          # Returns
  
          `object`
  
          > A random object from the collection