Ejemplo n.º 1
0
 def calculate_area(circle: Circle):
     area = circle.get_circle_radius()**2
     return area
 def validate_circle(self, circle: Circle):
     if circle.get_circle_radius() <= 0:
         raise InvalidRadiusException("Radius must be a positive number")