We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fe019f commit 67f7133Copy full SHA for 67f7133
conversions/rectangular_to_polar.py
@@ -22,7 +22,6 @@ def rectangular_to_polar(real: float, img: float) -> tuple[float, float]:
22
"""
23
24
mod = round(math.sqrt((real**2) + (img**2)), 2)
25
-
26
ang = round(math.degrees(math.atan2(img, real)), 2)
27
return (mod, ang)
28
0 commit comments