I am trying to create a class in python titled \"Point.\" I am trying to create a point on a coordinate plane x and y and track them. As well as find the distance between th
Don't forget math.hypot
math.hypot
def distance(self, p): dx = self.X - p.X dy = self.Y - p.Y return hypot(dx, dy)