Skip to content

Commit 7cceb7e

Browse files
Update escape_velocity.py
1 parent 1682ad4 commit 7cceb7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

physics/escape_velocity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def escape_velocity(mass: float, radius: float) -> float:
5656

5757
try:
5858
mass = float(input("Enter mass of the celestial body (in kgs): ").strip())
59-
radius = float(input("Enter radius from center (in meters): ").strip())
59+
radius = float(input("Enter radius from the center of mass (in ms): ").strip())
6060

6161
velocity = escape_velocity(mass=mass, radius=radius)
6262
print(f"Escape velocity is {velocity} m/s")

0 commit comments

Comments
 (0)