human
Complete the below
def _strip_comment_tags(comments, tags):

    ''''Helper function for `extract` that strips comment tags from strings
    in a list of comment lines.  This functions operates in-place.'
    '''
 What is a the Python code you requested?
assistant
#Here is the Python code you requested.
    def _strip(line):
        for tag in tags:
            if line.startswith(tag):
                return line[len(tag):].strip()
        return line
    comments[:] = map(_strip, comments)