
    Write a function that takes a list of patient symptoms and a medical priority flag, and adds the priority flag before each symptom in the list to create an updated triage monitoring sequence. The function should return the new sequence with the priority flag inserted before each original symptom, helping emergency room staff quickly identify critical cases during the triage process.
    

    
def insert_element(list, element):
    """
    Write a function that takes a list of patient symptoms and a medical priority flag, and adds the priority flag before each symptom in the list to create an updated triage monitoring sequence. The function should return the new sequence with the priority flag inserted before each original symptom, helping emergency room staff quickly identify critical cases during the triage process.
    

    """
def insert_element(list, element):
    """
    Write a function that takes a list of patient symptoms and a medical priority flag, and adds the priority flag before each symptom in the list to create an updated triage monitoring sequence. The function should return the new sequence with the priority flag inserted before each original symptom, helping emergency room staff quickly identify critical cases during the triage process.
    

    """
    list = [v for elt in list for v in (element, elt)]
    return list