From 38641de1592ce3d5a9d5e2831cfb6b58852322e8 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 4 Dec 2026 17:54:38 +0300 Subject: [PATCH] Fix typos in physics docstrings --- physics/boyles_law.py | 2 +- physics/hubble_parameter.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/physics/boyles_law.py b/physics/boyles_law.py index b21b92966538..7050615c8398 100644 --- a/physics/boyles_law.py +++ b/physics/boyles_law.py @@ -114,7 +114,7 @@ def find_target_variable(values: dict[str, float]) -> str: def boyles_law(values: dict[str, float]) -> dict[str, str]: """ - Function calculates the the unknown pressure or volume using Boyle's law. + Function calculates the unknown pressure or volume using Boyle's law. Function takes a dictionary as an input. It contains values for respective pressure and volumes and computes the required value and returns it as output diff --git a/physics/hubble_parameter.py b/physics/hubble_parameter.py index 8a81a845741a..6b3601575dfb 100644 --- a/physics/hubble_parameter.py +++ b/physics/hubble_parameter.py @@ -2,8 +2,8 @@ Title : Calculating the Hubble Parameter Description : The Hubble parameter H is the Universe expansion rate -in any time. In cosmology is customary to use the redshift redshift -in place of time, becausethe redshift is directily mensure +at any given time. In cosmology, it is customary to use the redshift +in place of time, because the redshift is directly measured in the light of galaxies moving away from us. So, the general relation that we obtain is