Skip to content

Commit 0b2f0f3

Browse files
committed
Fix ruff linting errors in orbital_period
1 parent e0d5ed0 commit 0b2f0f3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

physics/orbital_period.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
T = 2π * sqrt((R + h)^3 / (G * M))
66
7-
G is the Universal Gravitational Constant and equals 6.674 × 10^-11 N m²/kg²
7+
G is the Universal Gravitational Constant and equals 6.674 X 10^-11 N m²/kg²
88
M is the mass of the celestial body (kg)
99
R is the radius of the celestial body (m)
1010
h is the height of the satellite above the surface (m)
@@ -52,4 +52,5 @@ def time_period_of_satellite(mass: float, radius: float, height: float) -> float
5252
if __name__ == "__main__":
5353
import doctest
5454

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

0 commit comments

Comments
 (0)