<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dist(self, other):
 """Distance to some other point."""

    dx = self.x - other.x
    dy = self.y - other.y
    return math.sqrt(dx**2 + dy**2)