class Coordinate(object): def __init__(self, x, y): self.x = x self.y = y def __str__(self): return f"({self.x}, {self.y})" # 这里就相当于可以省略print def __add__(self, other): # 这里只接受一个对象和另一个对象 return Coordinate(self.x + other.x, self.y + other.y) x1, y1 = list(map(int, input().split())) x2, y2 = ...