You are viewing a single comment's thread. Return to all comments →
from cmath import phase num=complex(input().strip()) print(abs(num)) print(phase(num))
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 num=complex(input().strip()) print(abs(num)) print(phase(num))