class Rover:
    def __init__(self, x=0, y=0):
        self.x = x
        self.y = y

    def move(self, dx, dy):
        self.x += dx
        self.y += dy

    def distance_to(self, other):
        dx = self.x - other.x
        dy = self.y - other.y
        return (dx * dx + dy * dy) ** 0.5

a = Rover()
b = Rover(3, 4)
f = a.move
print(f.__self__ is a)
print(f.__func__ is Rover.move)
print(a.move.__func__ is b.move.__func__)

