Skip to content

Commit f4c0714

Browse files
committed
Styling corrected
1 parent 9d3c6dc commit f4c0714

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Electronics_Algorithms/Ohms_law.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def ohms_law(v=0, i=0, r=0):
1+
def ohms_law(v=0, i=0, r=0):
22
if(v == 0):
33
result = i * r
44
return result
@@ -9,4 +9,4 @@ def ohms_law(v=0, i=0, r=0):
99
result = v / i
1010
return result
1111
else:
12-
return 0
12+
return 0

0 commit comments

Comments
 (0)