Get your own Python server Result Size: 625 x 565
x
 
#import cmath for complex number operations 
import cmath
#find the polar coordinates of complex number
print (cmath.polar(2 + 3j))
print (cmath.polar(1 + 5j))
(3.605551275463989, 0.982793723247329)
(5.0990195135927845, 1.373400766945016)