
    In an adaptive learning platform, analyze a sequence of student assessment scores to determine the number of consecutive score pairs that demonstrate stable learning patterns. A stable learning pattern is identified when the XOR operation between two scores yields an even number, and your task is to count all such pairs in the student's performance history.
    

    
def find_even_pair(A):
    """
    In an adaptive learning platform, analyze a sequence of student assessment scores to determine the number of consecutive score pairs that demonstrate stable learning patterns. A stable learning pattern is identified when the XOR operation between two scores yields an even number, and your task is to count all such pairs in the student's performance history.
    

    """
def find_even_pair(A):
    """
    In an adaptive learning platform, analyze a sequence of student assessment scores to determine the number of consecutive score pairs that demonstrate stable learning patterns. A stable learning pattern is identified when the XOR operation between two scores yields an even number, and your task is to count all such pairs in the student's performance history.
    

    """
    count = 0
    for i in range(0, len(A)):
        for j in range(i + 1, len(A)):
            if (A[i] ^ A[j]) % 2 == 0:
                count += 1
    return count