Skip to content

Commit 6474d11

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

physics/orbital_period.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ def time_period_of_satellite(mass: float, radius: float, height: float) -> float
4646
raise ValueError("Height must be a non-negative value")
4747

4848
import math
49+
4950
return round(2 * math.pi * ((radius + height) ** 3 / (6.674e-11 * mass)) ** 0.5, 2)
5051

5152

5253
if __name__ == "__main__":
5354
import doctest
5455

55-
doctest.testmod()
56+
doctest.testmod()

0 commit comments

Comments
 (0)