1 2 3 4 5 6 7 8 9
class Point: def __init__(self, x, y): """Represents a point in the xy-coordinate plane. :param x: x coordinate :param y: y coordinate """ self.x = x self.y = y