summaryrefslogtreecommitdiff
path: root/progs/a953.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a953.py')
-rw-r--r--progs/a953.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/a953.py b/progs/a953.py
new file mode 100644
index 0000000..fd6c8bd
--- /dev/null
+++ b/progs/a953.py
@@ -0,0 +1,6 @@
+import cmath
+def polar_rect(x,y):
+ cn = complex(x,y)
+ cn=cmath.polar(cn)
+ cn1 = cmath.rect(2, cmath.pi)
+ return (cn,cn1) \ No newline at end of file