
    Write a function to analyze if a student's sequence of assessment scores follows a consistent pattern of either improvement or decline. The function should determine if the scores are either consistently non-increasing or consistently non-decreasing throughout the entire sequence, helping educators evaluate the effectiveness of their current teaching approach.
    

    
def is_Monotonic(A):
    """
    Write a function to analyze if a student's sequence of assessment scores follows a consistent pattern of either improvement or decline. The function should determine if the scores are either consistently non-increasing or consistently non-decreasing throughout the entire sequence, helping educators evaluate the effectiveness of their current teaching approach.
    

    """
def is_Monotonic(A):
    """
    Write a function to analyze if a student's sequence of assessment scores follows a consistent pattern of either improvement or decline. The function should determine if the scores are either consistently non-increasing or consistently non-decreasing throughout the entire sequence, helping educators evaluate the effectiveness of their current teaching approach.
    

    """
    return all((A[i] <= A[i + 1] for i in range(len(A) - 1))) or all((A[i] >= A[i + 1] for i in range(len(A) - 1)))