Skip to content

Commit 9b26214

Browse files
committed
initial commit
1 parent 8c41262 commit 9b26214

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Polar cordinates.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import cmath
2+
a = complex(input())
3+
b = list(cmath.polar(a))
4+
5+
print(b[0])
6+
print(b[1])

0 commit comments

Comments
 (0)