Polar Coordinates

  • + 0 comments
    import cmath
    n = input()
    print(round(abs(complex(n)),3))
    print(round(cmath.phase(complex(n)),3))