
    Write a function that calculates the largest performance gap between any two students in a class by analyzing their assessment scores, where this gap will help determine the necessary scope of differentiated instruction needed. The function should take an array of student scores as input and return the maximum difference found between any two scores.
    

    
def max_Abs_Diff(arr):
    """
    Write a function that calculates the largest performance gap between any two students in a class by analyzing their assessment scores, where this gap will help determine the necessary scope of differentiated instruction needed. The function should take an array of student scores as input and return the maximum difference found between any two scores.
    

    """
def max_Abs_Diff(arr):
    """
    Write a function that calculates the largest performance gap between any two students in a class by analyzing their assessment scores, where this gap will help determine the necessary scope of differentiated instruction needed. The function should take an array of student scores as input and return the maximum difference found between any two scores.
    

    """
    n = len(arr)
    minEle = arr[0]
    maxEle = arr[0]
    for i in range(1, n):
        minEle = min(minEle, arr[i])
        maxEle = max(maxEle, arr[i])
    return maxEle - minEle