
    Write a function that evaluates a student's alphabetical pattern recognition by counting how many letters in their text response appear in the same position as they would in the alphabet (for example, 'a' at position 1, 'b' at position 2, etc.), regardless of letter case, to help assess their sequential literacy skills.
    

    
def count_char_position(str1):
    """
    Write a function that evaluates a student's alphabetical pattern recognition by counting how many letters in their text response appear in the same position as they would in the alphabet (for example, 'a' at position 1, 'b' at position 2, etc.), regardless of letter case, to help assess their sequential literacy skills.
    

    """
def count_char_position(str1):
    """
    Write a function that evaluates a student's alphabetical pattern recognition by counting how many letters in their text response appear in the same position as they would in the alphabet (for example, 'a' at position 1, 'b' at position 2, etc.), regardless of letter case, to help assess their sequential literacy skills.
    

    """
    count_chars = 0
    for i in range(len(str1)):
        if i == ord(str1[i]) - ord('A') or i == ord(str1[i]) - ord('a'):
            count_chars += 1
    return count_chars