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
def find_multi_element_index(arr):
    """
    Returns index of the first element in the 
    array which resolves to multiple different element
    """
    seen = set()

    for i in range(len(arr)):
        elem = arr[i]
        if elem in seen:
            return i
        else:
            seen.add(elem)

    return None
    
arr = ['a', 'b', 'a', 'c', 'a']
ind = find_multi_element_index(arr)
print('Found multiple elements for index', ind)
user
Found multiple elements for index 2
assistant