diff --git a/point.py b/point.py index 3536ff3..445e0b5 100644 --- a/point.py +++ b/point.py @@ -29,7 +29,7 @@ class Point(): return self.get_x() != other.get_x() or self.get_y() != other.get_y() def __str__(self): """Returns the coordinates as a string""" - return "(" + str(self.get_x()) + "/" + str(self.get_y()) + ")" + return "(" + str(round(self.get_x(), 2)) + "/" + str(round(self.get_y(), 2)) + ")" def draw(self): """TODO: Draw the point in a canvas"""