執行 ❯
擁有你自己的 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)