<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_gap(l, value):
 """ try to find a address gap in the list of modbus registers """

    for index in range(len(l)):
        if l[index] == value:
            return None
        if l[index] > value:
            return index