>>> Ellipse(5, 10).perimeter 47.12388980384689
(self)
| 101 | |
| 102 | @property |
| 103 | def perimeter(self) -> float: |
| 104 | """ |
| 105 | >>> Ellipse(5, 10).perimeter |
| 106 | 47.12388980384689 |
| 107 | """ |
| 108 | return math.pi * (self.major_radius + self.minor_radius) |
| 109 | |
| 110 | |
| 111 | class Circle(Ellipse): |
nothing calls this directly
no outgoing calls
no test coverage detected