Polar Coordinates

  • + 0 comments
    from cmath import phase 
    z=input().strip()
    print(abs(complex(z)))
    print(phase(complex(z)))