(lines, keyword)
return None
Returns the first matching line in a list of lines. See match()
Returns the first matching line in a list of lines. See match()
Returns the first matching line in a list of lines . See match ()
def matching_line(lines, keyword):
    """Returns the first matching line in a list of lines. See match()"""
    for line in lines:
        matching=match(line,keyword)
        if matching!=None:
            return matching
    return None
def matching_line ( lines , keyword ) : for line in lines : matching = match ( line , keyword ) if matching != None : return matching return None