
    Write a function to calculate the total of all acceptable credit scores (even-numbered scores) that were recorded during regular 6-month assessment intervals (even-numbered positions) in a customer's credit history sequence, as this pattern indicates consistent positive financial behavior. The calculated sum will be used as one factor in determining loan approval eligibility.
    

    
def sum_even_and_even_index(arr):
    """
    Write a function to calculate the total of all acceptable credit scores (even-numbered scores) that were recorded during regular 6-month assessment intervals (even-numbered positions) in a customer's credit history sequence, as this pattern indicates consistent positive financial behavior. The calculated sum will be used as one factor in determining loan approval eligibility.
    

    """
def sum_even_and_even_index(arr):
    """
    Write a function to calculate the total of all acceptable credit scores (even-numbered scores) that were recorded during regular 6-month assessment intervals (even-numbered positions) in a customer's credit history sequence, as this pattern indicates consistent positive financial behavior. The calculated sum will be used as one factor in determining loan approval eligibility.
    

    """
    i = 0
    sum = 0
    for i in range(0, len(arr), 2):
        if arr[i] % 2 == 0:
            sum += arr[i]
    return sum