diff --git a/mustergenerator.py b/mustergenerator.py index 0f4b954..4588a28 100644 --- a/mustergenerator.py +++ b/mustergenerator.py @@ -47,6 +47,7 @@ class Circle: def radius(self, val): assert radius >= 0, "radius can not be negative" self.__radius = val + @property def distance(self): return self.__distance