Polar Coordinates

  • + 0 comments

    from cmath import phase import math

    cmpl = complex(input()) print(math.sqrt(cmpl.real ** 2+ cmpl.imag ** 2)) print(phase(cmpl))