Polar Coordinates

  • [deleted]Challenge Author
    + 0 comments

    For Python3

    import cmath
    
    c = complex(input())
    
    print(abs(c))
    print(cmath.phase(c))