You are viewing a single comment's thread. Return to all comments →
from cmath import phase
z = complex(input())
print(round(abs((z)), 3))
print(round(phase((z)), 3))
Seems like cookies are disabled on this browser, please enable them to open this website
Polar Coordinates
You are viewing a single comment's thread. Return to all comments →
from cmath import phase
z = complex(input())
print(round(abs((z)), 3))
print(round(phase((z)), 3))