Assume that I have a class (Base) & a list (obj)
class Base:
    def __init__(self, x, y):
        self.x = x 
        self.y = y 
    def __repr__(self):
        return f"Base({self.x}, {self.y})"
    def area(self):
        return self.x*self.y
obj = [Base(10, 12), Base(2, 5), Base(7, 8)]
How to remove Base(2, 5) from the obj list?
The obj.remove(Base(2,5)) does not work. Any Suggestions?
 
     
    