Skip to content

Commit ff86242

Browse files
committed
Merge branch 'add-collisions' of https://github.com/autobotx343/Python into add-collisions
2 parents eb4c3e3 + 4d86697 commit ff86242

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

physics/potential_energy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def gravitational_potential_energy(mass: float, height: float) -> float:
6767
if height < 0:
6868
# handling of negative values of height
6969
raise ValueError("The height above the ground cannot be negative")
70-
70+
7171
return mass * g * height
7272

7373
def spring_potential_energy(spr_con: float, dspl: float) -> float:

0 commit comments

Comments
 (0)