def set_y(self, ycoord): '''Propery that defines the y-coordinate.''' self.data["y"] = validate_int(ycoord, "y")
def set_x(self, xcoord): '''Property that defines the x-coordinate.''' self.data["x"] = validate_int(xcoord, "x")