def __str__(self): """Returns the string representation of self.""" return AbstractCollection.__str__(self)
def __str__(self): """Returns the string rep of the bag.""" result = AbstractCollection.__str__(self) return "{" + result[1:-1] + "}"