运行 ❯
拥有你自己的 Python 服务器
×
更改方向
更改主题,深色/浅色
前往 Spaces
#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)