We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d3c6dc commit f4c0714Copy full SHA for f4c0714
Electronics_Algorithms/Ohms_law.py
@@ -1,4 +1,4 @@
1
-def ohms_law(v=0, i=0, r=0):
+def ohms_law(v=0, i=0, r=0):
2
if(v == 0):
3
result = i * r
4
return result
@@ -9,4 +9,4 @@ def ohms_law(v=0, i=0, r=0):
9
result = v / i
10
11
else:
12
- return 0
+ return 0
0 commit comments