class Coordinate: # initialize x and y attributes inside __init__() def __init__(self,x,y): self.x=x self.y=y # define the add_coordinates() method @staticmethod def add_coordinates(c1, c2): return Coordinate(c1.x+c2.x, c1.y+c2.y)