Skip to content

Commit 34c2cf9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 59dd918 commit 34c2cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

physics/kinetic_energy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def kinetic_energy(mass: float, velocity: float) -> float:
5050
if mass < 0:
5151
raise ValueError("Mass must be non-negative")
5252

53-
return 0.5 * mass * velocity ** 2
53+
return 0.5 * mass * velocity**2
5454

5555

5656
if __name__ == "__main__":

0 commit comments

Comments
 (0)