
    Develop a function that removes the first and last occurrence of a specific route marker from a delivery truck's route identifier string to ensure proper GPS navigation and standardized route formatting. The function should maintain the integrity of the remaining route information while eliminating only the specified delimiter character from both ends of the route code.
    

    
def remove_Occ(s, ch):
    """
    Develop a function that removes the first and last occurrence of a specific route marker from a delivery truck's route identifier string to ensure proper GPS navigation and standardized route formatting. The function should maintain the integrity of the remaining route information while eliminating only the specified delimiter character from both ends of the route code.
    

    """
def remove_Occ(s, ch):
    """
    Develop a function that removes the first and last occurrence of a specific route marker from a delivery truck's route identifier string to ensure proper GPS navigation and standardized route formatting. The function should maintain the integrity of the remaining route information while eliminating only the specified delimiter character from both ends of the route code.
    

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