diff --git a/labs04/task03.py b/labs04/task03.py index 63f98c7..a8bce67 100644 --- a/labs04/task03.py +++ b/labs04/task03.py @@ -24,7 +24,8 @@ class Point: return len(self.cor) def __str__(self): return(str(self.cor)) - + def __to_string__(self): + return(str(self.cor)) class DimensionError(Exception): def __init__(self, text): self.text = text