number_triangle.py
def xor_base(x1, x2, base):
    """
    This function returns the XOR in a given base (modula the base).
    :param x1: First integer.
    :param x2: Second integer.
    :param base: The desired base.
    :return: The resulting equivalence class.
    """
    return np.mod(x1+x2, base)

    This function returns the XOR in a given base (modula the base).
    :param x1: First integer.
    :param x2: Second integer.
    :param base: The desired base.
    :return: The resulting equivalence class.
    
This function returns the XOR in a given base (modula the base).
This function returns the XOR in a given base ( modula the base ) .
def xor_base(x1, x2, base):
    return np.mod(x1+x2, base)
def xor_base ( x1 , x2 , base ) : return np . mod ( x1 + x2 , base )
This function returns the XOR in a given base (modula the base).
This function returns the XOR in a given base ( modula the base ) .
"""
    This function returns the XOR in a given base (modula the base).
    :param x1: First integer.
    :param x2: Second integer.
    :param base: The desired base.
    :return: The resulting equivalence class.
    """
The resulting equivalence class.
The resulting equivalence class .
x1
None
x2
None
base
The desired base.
The desired base .