You are going to act as a Python interpreter. You will be given a valid python program below. Write down what you think the result of its execution would be. Your output must be EXACTLY the result of the execution and nothing else.
situation
system
# Binary Search 

def binary_search(list, target): 
    low = 0
    high = len(list) - 1
    while low <= high: 
        mid = (low + high) // 2
        if list[mid] == target: 
            return mid 
        elif list[mid] > target: 
            high = mid - 1
        else: 
            low = mid + 1
    return -1

# Test array 
list = [1,2,3,4,5,6,7]
target = 4

# Function Call 
result = binary_search(list, target) 
if result != -1: 
    print("Element is present at index", str(result)) 
else: 
    print("Element is not present in array")
user
Element is present at index 3
assistant