
    Write a function that calculates the largest performance gap in a class by finding the maximum difference between any two student scores in an assessment. The scores are provided as numerical values, and the function should help identify the widest achievement gap present in the class.
    

    
def max_Abs_Diff(arr):
    """
    Write a function that calculates the largest performance gap in a class by finding the maximum difference between any two student scores in an assessment. The scores are provided as numerical values, and the function should help identify the widest achievement gap present in the class.
    

    """
def max_Abs_Diff(arr):
    """
    Write a function that calculates the largest performance gap in a class by finding the maximum difference between any two student scores in an assessment. The scores are provided as numerical values, and the function should help identify the widest achievement gap present in the class.
    

    """
    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