Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion physics/coulombs_law.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def coulombs_law(q1: float, q2: float, radius: float) -> float:
17975103584.6
"""
if radius <= 0:
raise ValueError("The radius is always a positive non zero integer")
raise ValueError("The radius is always a positive non zero number")
return round(((8.9875517923 * 10**9) * q1 * q2) / (radius**2), 2)


Expand Down