def evansMod(x,n):
    """
    this fxn flips a modulus value from 0 to 1, or from any integer x to 0 where x != 0
    Args:
        n (int): positive integer parameter. where n>1
        x (int): positive integer parameter
    Returns:
        1 (int): if n divides x
        0 (int): if n does not divide x
    """
    if x%n == 0:
        return 1
    else:
        return 0