
    Write a function to determine if a student's sequence of assessment scores shows consistent progress, where scores either consistently increase or consistently decrease over time, helping educators identify clear learning progression patterns. The function should analyze the complete sequence of numerical scores and determine if they follow a strictly increasing or decreasing pattern, with equal consecutive values being acceptable.
    

    
def is_Monotonic(A):
    """
    Write a function to determine if a student's sequence of assessment scores shows consistent progress, where scores either consistently increase or consistently decrease over time, helping educators identify clear learning progression patterns. The function should analyze the complete sequence of numerical scores and determine if they follow a strictly increasing or decreasing pattern, with equal consecutive values being acceptable.
    

    """
def is_Monotonic(A):
    """
    Write a function to determine if a student's sequence of assessment scores shows consistent progress, where scores either consistently increase or consistently decrease over time, helping educators identify clear learning progression patterns. The function should analyze the complete sequence of numerical scores and determine if they follow a strictly increasing or decreasing pattern, with equal consecutive values being acceptable.
    

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