kleine Änderungen

This commit is contained in:
Mika 2023-11-02 14:11:07 +01:00
parent 8dc1e67c91
commit 2173419612

View File

@ -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