kleine Änderungen
This commit is contained in:
parent
8dc1e67c91
commit
2173419612
|
@ -47,6 +47,7 @@ class Circle:
|
||||||
def radius(self, val):
|
def radius(self, val):
|
||||||
assert radius >= 0, "radius can not be negative"
|
assert radius >= 0, "radius can not be negative"
|
||||||
self.__radius = val
|
self.__radius = val
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def distance(self):
|
def distance(self):
|
||||||
return self.__distance
|
return self.__distance
|
||||||
|
|
Loading…
Reference in New Issue