def line_indices(lines, tag):
    """

    :param lines: Must be a list of strings representing each line
    :param tag: is the tag to find in the list of lines
    :return: the indices of the lines with that tag

    """
    return [l for l in range(len(lines)) if tag in lines[l]]