Skip to content

Commit 67f7133

Browse files
authored
Update conversions/rectangular_to_polar.py
1 parent 9fe019f commit 67f7133

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

conversions/rectangular_to_polar.py

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ def rectangular_to_polar(real: float, img: float) -> tuple[float, float]:
2222
"""
2323

2424
mod = round(math.sqrt((real**2) + (img**2)), 2)
25-
2625
ang = round(math.degrees(math.atan2(img, real)), 2)
2726
return (mod, ang)
2827

0 commit comments

Comments
 (0)