Skip to content

Commit e8484c2

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

electronics/electric_potential_point_charge.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
COULOMB_CONSTANT = 8.99e9 # N·m²/C², Coulomb's constant
44

5+
56
def electric_potential_point_charge(charge: float, distance: float) -> float:
67
"""
78
Calculate the electric potential at a point due to a point charge.
@@ -41,4 +42,5 @@ def electric_potential_point_charge(charge: float, distance: float) -> float:
4142

4243
if __name__ == "__main__":
4344
import doctest
45+
4446
doctest.testmod()

0 commit comments

Comments
 (0)