Polar Coordinates

  • + 0 comments
    from cmath import phase
    z = input()
    print(abs(complex(z)), phase(complex(z)), sep='\n')