<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def find_first(data, what):
    '''
    Search for ``what`` in the iterable ``data`` and return the index of the 
    first match. Return ``None`` if no match found.
    '''
    for i, line in enumerate(data):
        if contains(line, what):
            return i
            
    return None