#implementing binary search using recursion

def binary_search(data, target, low, high):
    """
    Returns True if target is found in indicated portion of python list"""

    if low > high:
        return False
    else:
        mid = (low + high) // 2
        if target == data[mid]:
            return True
        elif target < data[mid]:
            return binary_search(data, target, low mid-1)
        else:

            return binary_search(data target, mid+1, high)

