From 293c616c4a713e3ea6d7ffb4080bead4d13cdfe4 Mon Sep 17 00:00:00 2001 From: s45148 Date: Sat, 16 Dec 2017 09:01:07 +0100 Subject: [PATCH] labs04 z1 --- labs04/task03.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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