You are viewing a single comment's thread. Return to all comments →
import cmath # generating a functhion << r_phase >> def r_phase(n=complex(input())): # value must not be string so it's complex print(f'{cmath.polar(n)[0]}\n{cmath.polar(n)[1]}') #show abs and phase in two lines r_phase()
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 →