Polar Coordinates

  • + 0 comments

    from cmath import phase

    z = complex(input())

    print(round(abs((z)), 3))

    print(round(phase((z)), 3))