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
|
487 Discussions
|
Please Login in order to post a comment
import cmath u=input() print(round(abs(complex(u)),3)) print(round(cmath.phase(complex(u)),3))
import cmath cn=complex(input()) print(abs(cn)) print(cmath.phase(cn))