def sign(value):
    """
    Returns an integer that indicates the sign of a number.

    Parameters:
        value (int): The number to get the sign of

    Returns:
        -1 if the number is negative, 0 if the number is 0, or 1
        if the number is positive.
    """

    if value < 0:
        return -1
    elif value == 0:
        return 0
    else:
        return 1