
    Write a function that removes the first and last instance of a specific indicator character from a student's learning path code to standardize the format across the academic tracking system. The learning path code is represented as a string containing course identifiers and difficulty markers, and removing these specific indicators helps normalize the path representation for consistent student progress tracking.
    

    
def remove_Occ(s, ch):
    """
    Write a function that removes the first and last instance of a specific indicator character from a student's learning path code to standardize the format across the academic tracking system. The learning path code is represented as a string containing course identifiers and difficulty markers, and removing these specific indicators helps normalize the path representation for consistent student progress tracking.
    

    """
def remove_Occ(s, ch):
    """
    Write a function that removes the first and last instance of a specific indicator character from a student's learning path code to standardize the format across the academic tracking system. The learning path code is represented as a string containing course identifiers and difficulty markers, and removing these specific indicators helps normalize the path representation for consistent student progress tracking.
    

    """
    for i in range(len(s)):
        if s[i] == ch:
            s = s[0:i] + s[i + 1:]
            break
    for i in range(len(s) - 1, -1, -1):
        if s[i] == ch:
            s = s[0:i] + s[i + 1:]
            break
    return s