def convert_boolean_list_to_indices(list_of_booleans):
    """
    take a list of boolean values and return the indices of the elements containing True

    :param list_of_booleans: list
        sequence of booleans
    :return: list with integer values
        list of the values that were True in the input list_of_booleans
    """
    return [n_element for n_element, element in enumerate(list_of_booleans) if element]