
    Create a function that analyzes a list of student quiz scores to determine how many times a specific score appears, helping identify common performance patterns. The function should take a list of numerical scores and a target score value as input, then return the total number of times that exact score was achieved across all student attempts.
    

    
def frequency(a, x):
    """
    Create a function that analyzes a list of student quiz scores to determine how many times a specific score appears, helping identify common performance patterns. The function should take a list of numerical scores and a target score value as input, then return the total number of times that exact score was achieved across all student attempts.
    

    """
def frequency(a, x):
    """
    Create a function that analyzes a list of student quiz scores to determine how many times a specific score appears, helping identify common performance patterns. The function should take a list of numerical scores and a target score value as input, then return the total number of times that exact score was achieved across all student attempts.
    

    """
    count = 0
    for i in a:
        if i == x:
            count += 1
    return count