We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Math
- Polar Coordinates
- Discussions
Polar Coordinates
Polar Coordinates
Sort by
recency
|
451 Discussions
|
Please Login in order to post a comment
import math import cmath
z=complex(input()) r=abs(z) print(r)
phi=cmath.phase(z) print(phi)
I used math cuz I dont like cmath