Skip to content

Commit 2b6d8a0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3170192 commit 2b6d8a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

geometry/geometry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ def perimeter(self) -> float:
106106
48.44222344723793
107107
"""
108108
a, b = self.major_radius, self.minor_radius
109-
#uses ramanujans approximation
110-
return math.pi * (3*(a + b) - ((3*a + b)*(a + 3*b))**0.5)
109+
# uses ramanujans approximation
110+
return math.pi * (3 * (a + b) - ((3 * a + b) * (a + 3 * b)) ** 0.5)
111111

112112

113113
class Circle(Ellipse):

0 commit comments

Comments
 (0)