def sign (n) :
    """Returns the sign of n.

       >>> sign (4)
       1
       >>> sign (-6.9)
       -1
       >>> sign (0)
       0
    """
    if n > 0 :
        return 1
    elif n < 0 :
        return -1
    else :
        return 0