class vector: def __init__(self,x,y): self.coord = (x, y) def __add__(self,other): return Vector(self.coord[0] + other.coord[0], self.coord[1] + other.coord[1])