Point.py 297 bytes
# -*- coding: utf-8 -*-

class Point(object):
    def __init__(self, x:float, y:float):
        super(Point, self).__init__()

        self.x = x
        self.y = y

    def __repr__(self):
        return f"({self.x}, {self.y})"

    def set_pos(self, x, y):
        self.x = x
        self.y = y